jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r370770 - /incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Date Fri, 20 Jan 2006 10:01:41 GMT
Author: stefan
Date: Fri Jan 20 02:01:37 2006
New Revision: 370770

URL: http://svn.apache.org/viewcvs?rev=370770&view=rev
Log:
removing redundant inner class

Modified:
    incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java

Modified: incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java?rev=370770&r1=370769&r2=370770&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
(original)
+++ incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Fri Jan 20 02:01:37 2006
@@ -99,7 +99,7 @@
         pdCache = new ReferenceMap(ReferenceMap.HARD, ReferenceMap.SOFT);
         ndCache = new ReferenceMap(ReferenceMap.HARD, ReferenceMap.SOFT);
 
-        rootNodeDef = new RootNodeDefinition(ntReg.getRootNodeDef(), this,
+        rootNodeDef = new NodeDefinitionImpl(ntReg.getRootNodeDef(), this,
                 nsResolver);
         ndCache.put(rootNodeDef.unwrap().getId(), rootNodeDef);
     }
@@ -297,37 +297,5 @@
         ps.println("NodeTypeManager (" + this + ")");
         ps.println();
         ntReg.dump(ps);
-    }
-
-    //--------------------------------------------------------< inner classes >
-    /**
-     * The <code>RootNodeDefinition</code> defines the characteristics of
-     * the root node.
-     */
-    private static class RootNodeDefinition extends NodeDefinitionImpl {
-
-        /**
-         * Creates a new <code>RootNodeDefinition</code>.
-         */
-        RootNodeDefinition(NodeDef def, NodeTypeManagerImpl ntMgr,
-                           NamespaceResolver nsResolver) {
-            super(def, ntMgr, nsResolver);
-        }
-
-        /**
-         * {@inheritDoc}
-         */
-        public String getName() {
-            // not applicable
-            return "";
-        }
-
-        /**
-         * {@inheritDoc}
-         */
-        public NodeType getDeclaringNodeType() {
-            // not applicable
-            return null;
-        }
     }
 }



Mime
View raw message