You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/07/18 13:33:47 UTC
[2/2] syncope git commit: [SYNCOPE-1164] Forgot to clean up0
[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/7ee0bf22
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/7ee0bf22
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/7ee0bf22
Branch: refs/heads/master
Commit: 7ee0bf22cb991b8ba5d4005579cf9a7225180f6a
Parents: 4214a38
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue Jul 18 15:30:54 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue Jul 18 15:33:36 2017 +0200
----------------------------------------------------------------------
.../syncope/client/console/status/ResourceStatusModal.java | 4 ----
1 file changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/7ee0bf22/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);