GUACAMOLE-220: Remove unnecessary explicit type parameters.

This commit is contained in:
Michael Jumper
2018-11-08 19:56:17 -08:00
parent a4d6f62df0
commit b355106c77
9 changed files with 12 additions and 12 deletions

View File

@@ -108,7 +108,7 @@ public class UserGroupService {
// Do not return any user groups if base DN is not specified
String groupBaseDN = confService.getGroupBaseDN();
if (groupBaseDN == null)
return Collections.<String, UserGroup>emptyMap();
return Collections.emptyMap();
// Retrieve all visible user groups which are not guacConfigGroups
Collection<String> attributes = confService.getGroupNameAttributes();
@@ -163,7 +163,7 @@ public class UserGroupService {
// Do not return any user groups if base DN is not specified
String groupBaseDN = confService.getGroupBaseDN();
if (groupBaseDN == null)
return Collections.<LDAPEntry>emptyList();
return Collections.emptyList();
// Get all groups the user is a member of starting at the groupBaseDN,
// excluding guacConfigGroups