Peter Centgraf pushed to branch feature/REPO-1936 at cms-community / 
hippo-repository


Commits:
85527deb by Peter Centgraf at 2018-02-09T14:23:43+01:00
REPO-1936 Minor cleanup of dead code in StringCodecMigrator

- - - - -


1 changed file:

- 
engine/src/main/java/org/onehippo/cm/engine/migrator/stringcodec/StringCodecMigrator.java


Changes:

=====================================
engine/src/main/java/org/onehippo/cm/engine/migrator/stringcodec/StringCodecMigrator.java
=====================================
--- 
a/engine/src/main/java/org/onehippo/cm/engine/migrator/stringcodec/StringCodecMigrator.java
+++ 
b/engine/src/main/java/org/onehippo/cm/engine/migrator/stringcodec/StringCodecMigrator.java
@@ -34,12 +34,12 @@ public class StringCodecMigrator implements 
ConfigurationMigrator {
 
     private static final Logger log = 
LoggerFactory.getLogger(StringCodecMigrator.class);
 
-    private static final String OLD_CODECS_CONFIGURATION_LOCATION = 
"/hippo:configuration/hippo:frontend/cms/cms-services/settingsService/codecs";
-    private static final String NEW_CODECS_CONFIGURATION_LOCATION = 
"/hippo:configuration/hippo:modules/stringcodec/hippo:moduleconfig";
+    private static final String OLD_CODECS_CONFIGURATION_LOCATION =
+            
"/hippo:configuration/hippo:frontend/cms/cms-services/settingsService/codecs";
+    private static final String NEW_CODECS_CONFIGURATION_LOCATION =
+            
"/hippo:configuration/hippo:modules/stringcodec/hippo:moduleconfig";
     private static final String NODE_CONFIGURATION_PARAMETER_PATTERN = 
"encoding.node*";
     private static final String DISPLAY_CONFIGURATION_PARAMETER = 
"encoding.display";
-    private static final String HIPPO_CONFIGURATION = "/hippo:configuration";
-    private static final String HIPPO_MODULECONFIG = "hippo:moduleconfig";
 
     @Override
     public boolean migrate(final Session session, final ConfigurationModel 
configurationModel, final boolean autoExportEnabled) throws RepositoryException 
{
@@ -62,7 +62,6 @@ public class StringCodecMigrator implements 
ConfigurationMigrator {
         }
 
         session.save();
-
         return true;
     }
 



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-repository/commit/85527deb885c8dea7de9e6239093184ac9414715

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-repository/commit/85527deb885c8dea7de9e6239093184ac9414715
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to