jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1412542 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/PropertyValues.java
Date Thu, 22 Nov 2012 13:18:21 GMT
Author: alexparvulescu
Date: Thu Nov 22 13:18:20 2012
New Revision: 1412542

URL: http://svn.apache.org/viewvc?rev=1412542&view=rev
Log:
OAK-376 Internal class PropertyValue exposed through Oak API
  fixed a (probably) copy/paste induced bug

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/PropertyValues.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/PropertyValues.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/PropertyValues.java?rev=1412542&r1=1412541&r2=1412542&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/PropertyValues.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/PropertyValues.java
Thu Nov 22 13:18:20 2012
@@ -169,7 +169,7 @@ public final class PropertyValues {
             }
             if (!p1.isArray() && p2.isArray()) {
                 return contains(p2.getValue(Type.STRINGS),
-                        p2.getValue(Type.STRING));
+                        p1.getValue(Type.STRING));
             }
         }
         // both arrays or both single values



Mime
View raw message