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/05/12 13:18:39 UTC

[2/2] syncope git commit: Cleaning up unused stuff

Cleaning up unused stuff


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

Branch: refs/heads/master
Commit: 48274e2f5f8469755973a5bcac5c70acb9087df3
Parents: 363f325
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri May 12 15:18:20 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri May 12 15:18:30 2017 +0200

----------------------------------------------------------------------
 .../syncope/client/console/panels/DirectoryPanel.properties | 2 --
 .../client/console/panels/DirectoryPanel_it.properties      | 2 --
 .../client/console/panels/DirectoryPanel_pt_BR.properties   | 2 --
 .../client/console/panels/DirectoryPanel_ru.properties      | 2 --
 .../syncope/core/persistence/jpa/entity/JPAPlainSchema.java | 9 ---------
 5 files changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/48274e2f/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.properties b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.properties
index 1525221..f57095d 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.properties
@@ -17,8 +17,6 @@
 displayRows=Display rows
 
 mustChangePassword=Must Change Password
-firstname=Firstname
-surname=Surname
 edit=Edit
 delete=Delete
 status=Status

http://git-wip-us.apache.org/repos/asf/syncope/blob/48274e2f/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_it.properties
index 904e53a..baf489c 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_it.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_it.properties
@@ -17,8 +17,6 @@
 displayRows=display rows
 
 mustChangePassword=Deve Cambiare Password
-firstname=Nome
-surname=Cognome
 edit=Edit
 delete=Rimuovi
 status=Stato

http://git-wip-us.apache.org/repos/asf/syncope/blob/48274e2f/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_pt_BR.properties
index 5f1fddb..063712c 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_pt_BR.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_pt_BR.properties
@@ -17,8 +17,6 @@
 displayRows=Mostrar linhas
 
 mustChangePassword=Must Change Password
-firstname=Nome
-surname=Sobrenome
 edit=Alterar
 delete=Excluir
 status=Estatus

http://git-wip-us.apache.org/repos/asf/syncope/blob/48274e2f/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_ru.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_ru.properties b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_ru.properties
index b090fe6..853e27b 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_ru.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel_ru.properties
@@ -18,8 +18,6 @@
 displayRows=\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e
 
 mustChangePassword=\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c
-firstname=\u0418\u043c\u044f
-surname=\u0424\u0430\u043c\u0438\u043b\u0438\u044f
 edit=\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c
 delete=\u0423\u0434\u0430\u043b\u0438\u0442\u044c
 status=\u0421\u0442\u0430\u0442\u0443\u0441

http://git-wip-us.apache.org/repos/asf/syncope/blob/48274e2f/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/JPAPlainSchema.java
----------------------------------------------------------------------
diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/JPAPlainSchema.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/JPAPlainSchema.java
index 4515517..8a1dcdd 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/JPAPlainSchema.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/JPAPlainSchema.java
@@ -33,7 +33,6 @@ import javax.persistence.Transient;
 import javax.validation.constraints.Max;
 import javax.validation.constraints.Min;
 import javax.validation.constraints.NotNull;
-import org.apache.commons.lang3.StringUtils;
 import org.apache.syncope.common.lib.types.AttrSchemaType;
 import org.apache.syncope.common.lib.types.CipherAlgorithm;
 import org.apache.syncope.core.persistence.api.attrvalue.validation.Validator;
@@ -231,19 +230,11 @@ public class JPAPlainSchema extends AbstractSchema implements PlainSchema {
 
     @Override
     public String getConversionPattern() {
-        if (!getType().isConversionPatternNeeded()) {
-            LOG.debug("Conversion pattern is not needed: {}'s type is {}", this, getType());
-        }
-
         return conversionPattern;
     }
 
     @Override
     public void setConversionPattern(final String conversionPattern) {
-        if (StringUtils.isNotBlank(conversionPattern) && !getType().isConversionPatternNeeded()) {
-            LOG.warn("Conversion pattern will be ignored: this attribute type is {}", getType());
-        }
-
         this.conversionPattern = conversionPattern;
     }