complying with https://github.com/buddycloud/buddycloud-server-java/commit/ca3f0e925175aed6939d4004f1a25f9261a2c245