TheHolyWaffle/TeamSpeak-3-Java-API — pull request #24 by Raavgo (2014-11-25 15:04:23+00:00)
Title: Fixed getAmountOfServerGroups and implemented getClientServerGroups

getAmountOfServerGroups:
get(ClientProperty.CLIENT_SERVERGROUPS).length() returns the doubled servergroups because of the comma
But because there is always one comma too less I added 1 to get(ClientProperty.CLIENT_SERVERGROUPS).length() and then divided it. getInt was turning the String 1,2,3,.. to a int which wasn't right.

getClientServerGroups:
getClientServerGroups returns a string containing the server group ID for example 1,2,3,...