jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1528475 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ReadOnlyNamespaceRegistry.java
Date Wed, 02 Oct 2013 13:58:06 GMT
Author: thomasm
Date: Wed Oct  2 13:58:06 2013
New Revision: 1528475

URL: http://svn.apache.org/r1528475
Log:
OAK-125 : Improved namespace registry - slightly faster getURIs call by not sorting the list

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ReadOnlyNamespaceRegistry.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ReadOnlyNamespaceRegistry.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ReadOnlyNamespaceRegistry.java?rev=1528475&r1=1528474&r2=1528475&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ReadOnlyNamespaceRegistry.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ReadOnlyNamespaceRegistry.java
Wed Oct  2 13:58:06 2013
@@ -81,7 +81,6 @@ public abstract class ReadOnlyNamespaceR
             Tree root = getReadTree();
             Map<String, String> map = Namespaces.getNamespaceMap(root);
             String[] uris = map.values().toArray(new String[map.size()]);
-            Arrays.sort(uris);
             return uris;
         } catch (RuntimeException e) {
             throw new RepositoryException(



Mime
View raw message