jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1133332 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NamespaceRegistryImpl.java
Date Wed, 08 Jun 2011 10:39:34 GMT
Author: mduerig
Date: Wed Jun  8 10:39:33 2011
New Revision: 1133332

URL: http://svn.apache.org/viewvc?rev=1133332&view=rev
Log:
JCR-2984: JCR2SPI NamespaceRegistryImpl.unregisterNamespace passes prefix to storage when
uri is expected

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NamespaceRegistryImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NamespaceRegistryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NamespaceRegistryImpl.java?rev=1133332&r1=1133331&r2=1133332&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NamespaceRegistryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/NamespaceRegistryImpl.java
Wed Jun  8 10:39:33 2011
@@ -58,7 +58,7 @@ public class NamespaceRegistryImpl imple
      * @see NamespaceRegistry#unregisterNamespace(String)
      */
     public void unregisterNamespace(String prefix) throws NamespaceException, UnsupportedRepositoryOperationException,
RepositoryException {
-        storage.unregisterNamespace(prefix);
+        storage.unregisterNamespace(getURI(prefix));
     }
 
     /**



Mime
View raw message