jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1352024 - in /jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement: ./ impl/ impl/jackrabbit/
Date Wed, 20 Jun 2012 09:50:11 GMT
Author: ard
Date: Wed Jun 20 09:50:11 2012
New Revision: 1352024

URL: http://svn.apache.org/viewvc?rev=1352024&view=rev
Log:
OCM-58 start with removing all kind of unneeded helper classes below package 'nodemanagement'

Removed:
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/RepositorySession.java
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/BaseNamespaceHelper.java
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/JackrabbitRepositorySession.java
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositoryConfiguration.java
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositorySessionFactory.java
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositoryUtil.java
Modified:
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NamespaceHelper.java
    jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImpl.java

Modified: jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NamespaceHelper.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NamespaceHelper.java?rev=1352024&r1=1352023&r2=1352024&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NamespaceHelper.java
(original)
+++ jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NamespaceHelper.java
Wed Jun 20 09:50:11 2012
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.ocm.nodema
 
 import javax.jcr.NamespaceRegistry;
 
-import org.apache.jackrabbit.ocm.nodemanagement.impl.BaseNamespaceHelper;
 import org.apache.jackrabbit.spi.Name;
 import org.apache.jackrabbit.spi.commons.name.NameFactoryImpl;
 
@@ -27,9 +26,13 @@ import org.apache.jackrabbit.spi.commons
  *
  * @author <a href="mailto:okiessler@apache.org">Oliver Kiessler</a>
  */
-public class NamespaceHelper extends BaseNamespaceHelper
+public class NamespaceHelper
 {
 
+    /** Default namespace URI if none is specified.
+     */
+    public static final String DEFAULT_NAMESPACE_URI = "";
+
     /** JCR namespace registry.
      */
     private NamespaceRegistry registry;
@@ -41,7 +44,7 @@ public class NamespaceHelper extends Bas
 
     /** Returns a QName object from a given JCR item name.
      *
-     * @param nodeName JCR item name
+     * @param itemName JCR item name
      * @return qName
      */
     public Name getName(String itemName)

Modified: jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImpl.java?rev=1352024&r1=1352023&r2=1352024&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImpl.java
(original)
+++ jackrabbit/commons/ocm/trunk/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImpl.java
Wed Jun 20 09:50:11 2012
@@ -517,9 +517,6 @@ public class NodeTypeManagerImpl impleme
         getNodeTypeRegistry(session).registerNodeTypes(nodeTypes);
     }
 
-    /**
-     * @see org.apache.jackrabbit.ocm.nodemanagement.NodeTypeManager#removeNodeTypes
-     */
     public void removeNodeTypesFromConfiguration(Session session, InputStream jcrRepositoryConfigurationFile)
     throws NodeTypeRemovalException
     {



Mime
View raw message