jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1525985 - /jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java
Date Tue, 24 Sep 2013 20:03:26 GMT
Author: tripod
Date: Tue Sep 24 20:03:26 2013
New Revision: 1525985

URL: http://svn.apache.org/r1525985
Log:
JCR-3666 FileVault: VaultFsConfig11 references incorrect classes from prior versions

Modified:
    jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java

Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java?rev=1525985&r1=1525984&r2=1525985&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java
(original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java
Tue Sep 24 20:03:26 2013
@@ -52,17 +52,6 @@ class VaultFsConfig11 extends AbstractVa
     public VaultFsConfig11() {
         helper.getDefaultPackages().put("include", "org.apache.jackrabbit.vault.fs.filter");
         helper.getDefaultPackages().put("exclude", "org.apache.jackrabbit.vault.fs.filter");
-
-        // add renamed classes from prior versions
-        Map<String, String> m = helper.getMappings();
-        m.put("org.apache.jackrabbit.vault.fs.imprt.FolderArtifactHandler", "org.apache.jackrabbit.vault.fs.impl.io.FileArtifactHandler");
-        m.put("org.apache.jackrabbit.vault.fs.imprt.FileArtifactHandler", "org.apache.jackrabbit.vault.fs.impl.io.FileArtifactHandler");
-        m.put("org.apache.jackrabbit.vault.fs.imprt.GenericArtifactHandler", "org.apache.jackrabbit.vault.fs.impl.io.GenericArtifactHandler");
-        m.put("org.apache.jackrabbit.vault.fs.imprt.NodeTypeArtifactHandler", "org.apache.jackrabbit.vault.fs.impl.io.NodeTypeArtifactHandler");
-
-
-        m.put("org.apache.jackrabbit.vault.fs.filter.ItemFilter", "org.apache.jackrabbit.vault.fs.api.ItemFilter");
-        m.put("org.apache.jackrabbit.vault.fs.filter.PathFilter", "org.apache.jackrabbit.vault.fs.api.PathFilter");
     }
 
     protected void process(Element elem) throws ConfigurationException {
@@ -72,7 +61,7 @@ class VaultFsConfig11 extends AbstractVa
                     if (agg.getNodeName().equals("aggregate")) {
                         processAggregate(agg);
                     } else {
-                        log.warn("Unkown element name in config: " + agg.getNodeName());
+                        log.warn("Unknown element name in config: " + agg.getNodeName());
                     }
                 }
 
@@ -81,12 +70,12 @@ class VaultFsConfig11 extends AbstractVa
                     if (handler.getNodeName().equals("handler")) {
                         processHandler(handler);
                     } else {
-                        log.warn("Unkown element name in config: " + handler.getNodeName());
+                        log.warn("Unknown element name in config: " + handler.getNodeName());
                     }
                 }
 
             } else {
-                log.warn("Unkown element name in config: " + child.getNodeName());
+                log.warn("Unknown element name in config: " + child.getNodeName());
             }
         }
     }



Mime
View raw message