syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmarte...@apache.org
Subject [1/2] syncope git commit: [SYNCOPE-1049] fixes
Date Tue, 21 Mar 2017 13:48:56 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 6ddbfe3ae -> 4b914ce55
  refs/heads/master 4850ef44f -> 2a7358f45


[SYNCOPE-1049] fixes


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/4b914ce5
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/4b914ce5
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/4b914ce5

Branch: refs/heads/2_0_X
Commit: 4b914ce55068435388a90a0fd5386eb2b3d80f9f
Parents: 6ddbfe3
Author: fmartelli <fabio.martelli@gmail.com>
Authored: Tue Mar 21 14:48:19 2017 +0100
Committer: fmartelli <fabio.martelli@gmail.com>
Committed: Tue Mar 21 14:48:19 2017 +0100

----------------------------------------------------------------------
 .../syncope/client/console/status/AnyStatusDirectoryPanel.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/4b914ce5/client/console/src/main/java/org/apache/syncope/client/console/status/AnyStatusDirectoryPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/status/AnyStatusDirectoryPanel.java
b/client/console/src/main/java/org/apache/syncope/client/console/status/AnyStatusDirectoryPanel.java
index 3cbcfdc..dc665b7 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/status/AnyStatusDirectoryPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/status/AnyStatusDirectoryPanel.java
@@ -22,6 +22,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 import org.apache.commons.lang3.StringUtils;
+import org.apache.syncope.client.console.commons.Constants;
 import org.apache.syncope.client.console.commons.DirectoryDataProvider;
 import org.apache.syncope.client.console.commons.status.AbstractStatusBeanProvider;
 import org.apache.syncope.client.console.commons.status.ConnObjectWrapper;
@@ -175,7 +176,8 @@ public class AnyStatusDirectoryPanel
 
                     @Override
                     protected boolean statusCondition(final StatusBean bean) {
-                        return bean.getConnObjectLink() != null;
+                        return bean.getConnObjectLink() != null
+                                && !bean.getResourceName().equalsIgnoreCase(Constants.SYNCOPE);
                     }
 
                     @Override


Mime
View raw message