]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.core/src/org/argeo/slc/jcr/SlcJcrUtils.java
Adapt to changes in Spring and OSGi (mostly generics)
[gpl/argeo-slc.git] / org.argeo.slc.core / src / org / argeo / slc / jcr / SlcJcrUtils.java
index 5c00bcffb1be2b49f0f28f01353cb6917ef93ae4..4c42661f9ce3eb90d6eef860ab0a12c401b41fc9 100644 (file)
@@ -28,7 +28,7 @@ import javax.jcr.nodetype.NodeType;
 
 import org.argeo.jcr.JcrUtils;
 import org.argeo.jcr.UserJcrUtils;
-import org.argeo.slc.BasicNameVersion;
+import org.argeo.slc.DefaultNameVersion;
 import org.argeo.slc.NameVersion;
 import org.argeo.slc.SlcException;
 import org.argeo.slc.core.execution.PrimitiveAccessor;
@@ -78,7 +78,7 @@ public class SlcJcrUtils implements SlcNames {
                String module = tokens[AGENT_FACTORY_DEPTH + 2];
                String moduleName = module.substring(0, module.indexOf('_'));
                String moduleVersion = module.substring(module.indexOf('_') + 1);
-               return new BasicNameVersion(moduleName, moduleVersion);
+               return new DefaultNameVersion(moduleName, moduleVersion);
        }
 
        /** Module node name based on module name and version */