return pathQuery;
}
public static List<String> getGroupSpaceOfUser(String userId) {
List<String> groupId = new ArrayList<String>();
try {
<BUG>@SuppressWarnings("unchecked")
Collection<Group> groups = UserHelper.getOrganizationService().getGroupHandler().findGroupsOfUser(userId);
for (Group group : groups) {</BUG>
if (group.getId().indexOf(CommonUtils.SLASH + CATEGORY_SPACE) >= 0) {
groupId.add(group.getGroupName());

return pathQuery;
}
public static List<String> getGroupSpaceOfUser(String userId) {
List<String> groupId = new ArrayList<String>();
try {
Collection<Group> groups = UserHelper.getGroupHandler().findGroupsOfUser(userId);
for (Group group : groups) {
if (group.getId().indexOf(CommonUtils.SLASH + CATEGORY_SPACE) >= 0) {
groupId.add(group.getGroupName());
