syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1485768 - in /syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels: RoleDetailsPanel.java RolePanel.java
Date Thu, 23 May 2013 16:24:51 GMT
Author: massi
Date: Thu May 23 16:24:51 2013
New Revision: 1485768

URL: http://svn.apache.org/r1485768
Log:
Unused constructor parameter: form

Modified:
    syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RoleDetailsPanel.java
    syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RolePanel.java

Modified: syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RoleDetailsPanel.java
URL: http://svn.apache.org/viewvc/syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RoleDetailsPanel.java?rev=1485768&r1=1485767&r2=1485768&view=diff
==============================================================================
--- syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RoleDetailsPanel.java
(original)
+++ syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RoleDetailsPanel.java
Thu May 23 16:24:51 2013
@@ -35,7 +35,6 @@ import org.apache.wicket.event.IEvent;
 import org.apache.wicket.extensions.ajax.markup.html.IndicatingAjaxLink;
 import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow;
 import org.apache.wicket.markup.html.WebMarkupContainer;
-import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.panel.Fragment;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.model.IModel;
@@ -62,7 +61,7 @@ public class RoleDetailsPanel extends Pa
 
     private ParentModel parentModel;
 
-    public RoleDetailsPanel(final String id, final RoleTO roleTO, final Form form, final
boolean templateMode) {
+    public RoleDetailsPanel(final String id, final RoleTO roleTO, final boolean templateMode)
{
         super(id);
 
         ownerContainer = new WebMarkupContainer("ownerContainer");

Modified: syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RolePanel.java
URL: http://svn.apache.org/viewvc/syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RolePanel.java?rev=1485768&r1=1485767&r2=1485768&view=diff
==============================================================================
--- syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RolePanel.java
(original)
+++ syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/RolePanel.java
Thu May 23 16:24:51 2013
@@ -20,6 +20,7 @@ package org.apache.syncope.console.pages
 
 import static org.apache.wicket.Component.RENDER;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
@@ -53,7 +54,9 @@ public class RolePanel extends Panel {
 
     private final AjaxPalettePanel<String> entitlementsPalette;
 
-    public static class Builder {
+    public static class Builder implements Serializable {
+
+        private static final long serialVersionUID = 8150440254654306070L;
 
         private String id;
 
@@ -98,7 +101,7 @@ public class RolePanel extends Panel {
         super(builder.id);
 
         this.add(new RoleDetailsPanel(
-                "details", builder.roleTO, builder.form, builder.mode == RoleModalPage.Mode.TEMPLATE));
+                "details", builder.roleTO, builder.mode == RoleModalPage.Mode.TEMPLATE));
 
         if (builder.pageReference == null || builder.roleTO.getId() == 0) {
             this.add(new Label("statuspanel", ""));



Mime
View raw message