You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/07/13 05:10:00 UTC
[22/24] incubator-guacamole-client git commit: GUACAMOLE-5: Increase
the documentation factor of DirectoryResource.
GUACAMOLE-5: Increase the documentation factor of DirectoryResource.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/abef36e1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/abef36e1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/abef36e1
Branch: refs/heads/master
Commit: abef36e11f7a470c0d5eb40b062277d681be79ea
Parents: aeec3ec
Author: Michael Jumper <mj...@apache.org>
Authored: Tue Jul 12 21:42:15 2016 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Tue Jul 12 21:42:15 2016 -0700
----------------------------------------------------------------------
.../java/org/apache/guacamole/rest/directory/DirectoryResource.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/abef36e1/guacamole/src/main/java/org/apache/guacamole/rest/directory/DirectoryResource.java
----------------------------------------------------------------------
diff --git a/guacamole/src/main/java/org/apache/guacamole/rest/directory/DirectoryResource.java b/guacamole/src/main/java/org/apache/guacamole/rest/directory/DirectoryResource.java
index 1716545..2dbf7f1 100644
--- a/guacamole/src/main/java/org/apache/guacamole/rest/directory/DirectoryResource.java
+++ b/guacamole/src/main/java/org/apache/guacamole/rest/directory/DirectoryResource.java
@@ -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));