syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1489099 - in /syncope/trunk: ./ console/src/main/java/org/apache/syncope/console/pages/panels/RoleSearchPanel.java console/src/main/java/org/apache/syncope/console/pages/panels/RoleSummaryPanel.java
Date Mon, 03 Jun 2013 18:36:18 GMT
Author: massi
Date: Mon Jun  3 18:36:17 2013
New Revision: 1489099

URL: http://svn.apache.org/r1489099
Log:
Three constructors but only one used

Modified:
    syncope/trunk/   (props changed)
    syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSearchPanel.java
    syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSummaryPanel.java

Propchange: syncope/trunk/
------------------------------------------------------------------------------
  Merged /syncope/branches/1_1_X:r1489091-1489097

Modified: syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSearchPanel.java
URL: http://svn.apache.org/viewvc/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSearchPanel.java?rev=1489099&r1=1489098&r2=1489099&view=diff
==============================================================================
--- syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSearchPanel.java
(original)
+++ syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSearchPanel.java
Mon Jun  3 18:36:17 2013
@@ -21,7 +21,6 @@ package org.apache.syncope.console.pages
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
-import org.apache.syncope.common.search.NodeCond;
 import org.apache.syncope.common.types.AttributableType;
 import org.apache.syncope.console.commons.SearchCondWrapper;
 import org.apache.wicket.model.LoadableDetachableModel;
@@ -31,15 +30,7 @@ public class RoleSearchPanel extends Abs
     private static final long serialVersionUID = 5757183539269316263L;
 
     public RoleSearchPanel(final String id) {
-        this(id, null, true);
-    }
-
-    public RoleSearchPanel(final String id, final NodeCond initCond) {
-        this(id, initCond, true);
-    }
-
-    public RoleSearchPanel(final String id, final NodeCond initCond, final boolean required)
{
-        super(id, AttributableType.ROLE, initCond, required);
+        super(id, AttributableType.ROLE, null, true);
     }
 
     @Override
@@ -52,7 +43,7 @@ public class RoleSearchPanel extends Abs
 
             @Override
             protected List<SearchCondWrapper.FilterType> load() {
-                List<SearchCondWrapper.FilterType> result = new ArrayList<SearchCondWrapper.FilterType>();
+                final List<SearchCondWrapper.FilterType> result = new ArrayList<SearchCondWrapper.FilterType>();
                 result.add(SearchCondWrapper.FilterType.ATTRIBUTE);
                 result.add(SearchCondWrapper.FilterType.ENTITLEMENT);
                 result.add(SearchCondWrapper.FilterType.RESOURCE);

Modified: syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSummaryPanel.java
URL: http://svn.apache.org/viewvc/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSummaryPanel.java?rev=1489099&r1=1489098&r2=1489099&view=diff
==============================================================================
--- syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSummaryPanel.java
(original)
+++ syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSummaryPanel.java
Mon Jun  3 18:36:17 2013
@@ -54,7 +54,7 @@ public class RoleSummaryPanel extends Pa
 
     public static class Builder implements Serializable {
 
-        private static final long serialVersionUID = 8150440254654306070L;
+        private static final long serialVersionUID = 4164563358509351832L;
 
         private String id;
 



Mime
View raw message