mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-5: Increase the documentation factor of DirectoryResource.
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user