directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: FC-105 - [fortress-core] - SDSet has possible classcastexception on equals
Date Mon, 18 May 2015 14:54:30 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 5e2179b56 -> cfde1de81


FC-105 - [fortress-core] - SDSet has possible classcastexception on equals


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/cfde1de8
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/cfde1de8
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/cfde1de8

Branch: refs/heads/master
Commit: cfde1de811cd1a032fb48a5592c37b5ba8bd8c8a
Parents: 5e2179b
Author: Shawn McKinney <smckinney@apache.org>
Authored: Mon May 18 09:54:17 2015 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Mon May 18 09:54:17 2015 -0500

----------------------------------------------------------------------
 src/main/java/org/apache/directory/fortress/core/rbac/SDSet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/cfde1de8/src/main/java/org/apache/directory/fortress/core/rbac/SDSet.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rbac/SDSet.java b/src/main/java/org/apache/directory/fortress/core/rbac/SDSet.java
index ba1bd24..b20b1ef 100755
--- a/src/main/java/org/apache/directory/fortress/core/rbac/SDSet.java
+++ b/src/main/java/org/apache/directory/fortress/core/rbac/SDSet.java
@@ -401,7 +401,7 @@ public class SDSet extends FortEntity implements Serializable, Comparable<SDSet>
         {
             return false;
         }
-        if ( !( thatObj instanceof Role ) )
+        if ( ( thatObj instanceof Role ) )
         {
             return false;
         }


Mime
View raw message