jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r169152 - /incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/base/nodetype/BaseNodeTypeManager.java
Date Sun, 08 May 2005 19:28:17 GMT
Author: jukka
Date: Sun May  8 12:28:17 2005
New Revision: 169152

URL: http://svn.apache.org/viewcvs?rev=169152&view=rev
Log:
JCR-EXT: Use the new Collection constructor of the ArrayNodeTypeIterator class.

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/base/nodetype/BaseNodeTypeManager.java

Modified: incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/base/nodetype/BaseNodeTypeManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/base/nodetype/BaseNodeTypeManager.java?rev=169152&r1=169151&r2=169152&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/base/nodetype/BaseNodeTypeManager.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/base/nodetype/BaseNodeTypeManager.java
Sun May  8 12:28:17 2005
@@ -74,8 +74,7 @@
             }
         }
 
-        return new ArrayNodeTypeIterator((NodeType[])
-                primaryTypes.toArray(new NodeType[primaryTypes.size()]));
+        return new ArrayNodeTypeIterator(primaryTypes);
     }
 
     /**
@@ -94,8 +93,7 @@
             }
         }
 
-        return new ArrayNodeTypeIterator((NodeType[])
-                mixinTypes.toArray(new NodeType[mixinTypes.size()]));
+        return new ArrayNodeTypeIterator(mixinTypes);
     }
 
 }



Mime
View raw message