You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/01/30 19:32:18 UTC

[7/9] guacamole-client git commit: GUACAMOLE-96: Objects should be decorated upon add(), not undecorated (they by definition come from an external source, not the decorated extension).

GUACAMOLE-96: Objects should be decorated upon add(), not undecorated (they by definition come from an external source, not the decorated extension).


Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/63bb3a03
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/63bb3a03
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/63bb3a03

Branch: refs/heads/master
Commit: 63bb3a033ae344f81ad29795c4f19e277d39d7b0
Parents: b37e041
Author: Michael Jumper <mj...@apache.org>
Authored: Wed Nov 22 09:52:59 2017 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Sat Jan 13 17:23:19 2018 -0800

----------------------------------------------------------------------
 .../java/org/apache/guacamole/net/auth/DecoratingDirectory.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/63bb3a03/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/DecoratingDirectory.java
----------------------------------------------------------------------
diff --git a/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/DecoratingDirectory.java b/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/DecoratingDirectory.java
index 23ea087..bb2eac4 100644
--- a/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/DecoratingDirectory.java
+++ b/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/DecoratingDirectory.java
@@ -122,7 +122,7 @@ public abstract class DecoratingDirectory<ObjectType extends Identifiable>
 
     @Override
     public void add(ObjectType object) throws GuacamoleException {
-        super.add(undecorate(object));
+        super.add(decorate(object));
     }
 
     @Override