syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject syncope git commit: Removing useless import static (again)
Date Sun, 15 Nov 2015 12:30:35 GMT
Repository: syncope
Updated Branches:
  refs/heads/master b9fcf293b -> 4eaee19ae


Removing useless import static (again)


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

Branch: refs/heads/master
Commit: 4eaee19ae66b0cb11775f900466d953f1bf5f592
Parents: b9fcf29
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Sun Nov 15 13:30:22 2015 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Sun Nov 15 13:30:22 2015 +0100

----------------------------------------------------------------------
 .../org/apache/syncope/client/console/pages/Schemas.java |  2 --
 .../console/panels/AbstractSchemaDetailsPanel.java       | 11 ++++++++---
 .../syncope/client/console/panels/DerSchemaDetails.java  |  4 +---
 .../client/console/panels/PlainSchemaDetails.java        |  2 --
 .../syncope/client/console/panels/ResourceModal.java     |  2 --
 .../syncope/client/console/panels/VirSchemaDetails.java  |  2 --
 6 files changed, 9 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/4eaee19a/client/console/src/main/java/org/apache/syncope/client/console/pages/Schemas.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/pages/Schemas.java
b/client/console/src/main/java/org/apache/syncope/client/console/pages/Schemas.java
index 0c70fcb..0e8b408 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/pages/Schemas.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/pages/Schemas.java
@@ -18,8 +18,6 @@
  */
 package org.apache.syncope.client.console.pages;
 
-import static org.apache.wicket.Component.ENABLE;
-
 import de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel;
 import java.util.ArrayList;
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/syncope/blob/4eaee19a/client/console/src/main/java/org/apache/syncope/client/console/panels/AbstractSchemaDetailsPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/AbstractSchemaDetailsPanel.java
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AbstractSchemaDetailsPanel.java
index 8522d33..ee55faa 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/AbstractSchemaDetailsPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/AbstractSchemaDetailsPanel.java
@@ -18,7 +18,6 @@
  */
 package org.apache.syncope.client.console.panels;
 
-import static org.apache.syncope.client.console.panels.AbstractModalPanel.FORM;
 import org.apache.syncope.client.console.pages.AbstractBasePage;
 import org.apache.syncope.client.console.rest.SchemaRestClient;
 import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
@@ -30,11 +29,17 @@ import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.model.CompoundPropertyModel;
 import org.apache.wicket.model.PropertyModel;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public abstract class AbstractSchemaDetailsPanel extends Panel {
 
     private static final long serialVersionUID = -9096843774956370327L;
 
+    protected static final Logger LOG = LoggerFactory.getLogger(AbstractSchemaDetailsPanel.class);
+
+    protected static final String FORM = "form";
+
     /**
      * Schema rest client for create and update operations
      */
@@ -51,9 +56,9 @@ public abstract class AbstractSchemaDetailsPanel extends Panel {
     protected final Form<AbstractSchemaTO> schemaForm;
 
     protected final AbstractSchemaTO schemaTO;
-    
+
     private final AbstractBasePage page;
-    
+
     public AbstractSchemaDetailsPanel(
             final String id,
             final PageReference pageReference,

http://git-wip-us.apache.org/repos/asf/syncope/blob/4eaee19a/client/console/src/main/java/org/apache/syncope/client/console/panels/DerSchemaDetails.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/DerSchemaDetails.java
b/client/console/src/main/java/org/apache/syncope/client/console/panels/DerSchemaDetails.java
index d8b42be..fd27845 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/DerSchemaDetails.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/DerSchemaDetails.java
@@ -18,8 +18,6 @@
  */
 package org.apache.syncope.client.console.panels;
 
-import static org.apache.syncope.client.console.panels.AbstractModalPanel.LOG;
-
 import org.apache.syncope.client.console.commons.Constants;
 import org.apache.syncope.client.console.commons.JexlHelpUtils;
 import org.apache.syncope.client.console.pages.AbstractBasePage;
@@ -58,7 +56,7 @@ public class DerSchemaDetails extends AbstractSchemaDetailsPanel {
     @Override
     public void getOnSubmit(final AjaxRequestTarget target,
             final BaseModal<?> modal, final Form<?> form, final PageReference
pageReference, final boolean createFlag) {
-        
+
         try {
             final DerSchemaTO updatedDerSchemaTO = DerSchemaTO.class.cast(form.getModelObject());
             if (createFlag) {

http://git-wip-us.apache.org/repos/asf/syncope/blob/4eaee19a/client/console/src/main/java/org/apache/syncope/client/console/panels/PlainSchemaDetails.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/PlainSchemaDetails.java
b/client/console/src/main/java/org/apache/syncope/client/console/panels/PlainSchemaDetails.java
index 2e5acda..3480718 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/PlainSchemaDetails.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/PlainSchemaDetails.java
@@ -18,8 +18,6 @@
  */
 package org.apache.syncope.client.console.panels;
 
-import static org.apache.syncope.client.console.panels.AbstractModalPanel.LOG;
-
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collections;

http://git-wip-us.apache.org/repos/asf/syncope/blob/4eaee19a/client/console/src/main/java/org/apache/syncope/client/console/panels/ResourceModal.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/ResourceModal.java
b/client/console/src/main/java/org/apache/syncope/client/console/panels/ResourceModal.java
index 87e8622..0c6d38c 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/ResourceModal.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/ResourceModal.java
@@ -18,8 +18,6 @@
  */
 package org.apache.syncope.client.console.panels;
 
-import static org.apache.wicket.Component.ENABLE;
-
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/syncope/blob/4eaee19a/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
b/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
index 4914e84..42e1c45 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
@@ -18,8 +18,6 @@
  */
 package org.apache.syncope.client.console.panels;
 
-import static org.apache.syncope.client.console.panels.AbstractModalPanel.LOG;
-
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.Map;


Mime
View raw message