Improve WebDav
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.jcr.mvc / src / main / java / org / argeo / jcr / mvc / MultipleRepositoryHandlerMapping.java
index 5c6e258e1b80b3f2d70245fa6caa00e52f335096..e07d77f13385f35fe6ce76f6586365c2a430a853 100644 (file)
@@ -128,18 +128,18 @@ public abstract class MultipleRepositoryHandlerMapping implements
        }
 
        /** The repository name is the first part of the path info */
-       // protected String extractRepositoryName(List<String> pathTokens) {
-       // StringBuffer currName = new StringBuffer("");
-       // for (String token : pathTokens) {
-       // currName.append(token);
-       // if (repositoryRegister.getRepositories().containsKey(
-       // currName.toString()))
-       // return currName.toString();
-       // currName.append('/');
-       // }
-       // throw new ArgeoException("No repository can be found for request "
-       // + pathTokens);
-       // }
+//     protected String extractRepositoryName(List<String> pathTokens) {
+//             StringBuffer currName = new StringBuffer("");
+//             for (String token : pathTokens) {
+//                     currName.append(token);
+//                     if (repositoryRegister.getRepositories().containsKey(
+//                                     currName.toString()))
+//                             return currName.toString();
+//                     currName.append('/');
+//             }
+//             throw new ArgeoException("No repository can be found for request "
+//                             + pathTokens);
+//     }
 
        public void setApplicationContext(ApplicationContext applicationContext)
                        throws BeansException {