Repository: syncope
Updated Branches:
  refs/heads/2_0_X 852dec694 -> 3198ef575
  refs/heads/master 4214a3892 -> 7ee0bf22c


[SYNCOPE-1164] Forgot to clean up0


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

Branch: refs/heads/2_0_X
Commit: 3198ef575a5cefcdea4d97bce1028cad787fd070
Parents: 852dec6
Author: Francesco Chicchiriccò <[email protected]>
Authored: Tue Jul 18 15:30:54 2017 +0200
Committer: Francesco Chicchiriccò <[email protected]>
Committed: Tue Jul 18 15:30:54 2017 +0200

----------------------------------------------------------------------
 .../syncope/client/console/status/ResourceStatusModal.java       | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/3198ef57/client/console/src/main/java/org/apache/syncope/client/console/status/ResourceStatusModal.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/status/ResourceStatusModal.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/status/ResourceStatusModal.java
index 960bd12..508217a 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/status/ResourceStatusModal.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/status/ResourceStatusModal.java
@@ -32,7 +32,6 @@ import 
org.apache.syncope.client.console.rest.AbstractAnyRestClient;
 import org.apache.syncope.client.console.rest.AnyTypeRestClient;
 import 
org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
 import 
org.apache.syncope.client.console.wicket.markup.html.form.AjaxDropDownChoicePanel;
-import org.apache.syncope.common.lib.SyncopeConstants;
 import org.apache.syncope.common.lib.to.ProvisionTO;
 import org.apache.syncope.common.lib.to.ResourceTO;
 import org.apache.wicket.PageReference;
@@ -62,9 +61,6 @@ public class ResourceStatusModal extends 
StatusModal<ResourceTO> {
             }
         }, new ArrayList<String>());
         Collections.sort(availableAnyTypes, new 
AnyTypeRestClient.AnyTypeKeyComparator());
-        if (resource.getOrgUnit() != null) {
-            availableAnyTypes.add(0, SyncopeConstants.REALM_ANYTYPE);
-        }
 
         AjaxDropDownChoicePanel<String> anyTypes =
                 new AjaxDropDownChoicePanel<>("anyTypes", "anyTypes", 
typeModel, false);

Reply via email to