guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmuehl...@apache.org
Subject [22/24] incubator-guacamole-client git commit: GUACAMOLE-5: Increase the documentation factor of DirectoryResource.
Date Wed, 13 Jul 2016 05:10:00 GMT
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 <mjumper@apache.org>
Authored: Tue Jul 12 21:42:15 2016 -0700
Committer: Michael Jumper <mjumper@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));


Mime
View raw message