GUACAMOLE-5: Increase the documentation factor of DirectoryResource.

This commit is contained in:
Michael Jumper committed 2016-07-12 21:42:15 -07:00
1 parent aeec3eca40
commit abef36e11f
1 file changed
+1
@@ -158,6 +158,7 @@ public class DirectoryResource<InternalType extends Identifiable, ExternalType>
identifiers = objectPermissions.getAccessibleObjects(permissions, identifiers);
}
// Translate each retrieved object into the corresponding external object
Map<String, ExternalType> apiObjects = new HashMap<String, ExternalType>();
for (InternalType object : directory.getAll(identifiers))
apiObjects.put(object.getIdentifier(), translator.toExternalObject(object));