jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1082599 - /jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
Date Thu, 17 Mar 2011 17:26:36 GMT
Author: stefan
Date: Thu Mar 17 17:26:36 2011
New Revision: 1082599

URL: http://svn.apache.org/viewvc?rev=1082599&view=rev
Log:
JCR-2921: URIResolverImpl: use of bitwise instead of logical AND operator

Modified:
    jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java?rev=1082599&r1=1082598&r2=1082599&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
Thu Mar 17 17:26:36 2011
@@ -108,7 +108,7 @@ class URIResolverImpl implements URIReso
             // resolver uuid part
             if (uniqueID != null) {
                 ItemId uuidId = (path == null) ? itemId : service.getIdFactory().createNodeId(uniqueID);
-                if (path != null & cache.containsItemId(uuidId)) {
+                if (path != null && cache.containsItemId(uuidId)) {
                     // append uri of parent node, that is already cached
                     uriBuffer.append(cache.getUri(uuidId));
                 } else {



Mime
View raw message