jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1375612 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/PropertyValueImpl.java
Date Tue, 21 Aug 2012 15:38:02 GMT
Author: thomasm
Date: Tue Aug 21 15:38:01 2012
New Revision: 1375612

URL: http://svn.apache.org/viewvc?rev=1375612&view=rev
Log:
OAK-261 Support querying on property types

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/PropertyValueImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/PropertyValueImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/PropertyValueImpl.java?rev=1375612&r1=1375611&r2=1375612&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/PropertyValueImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/PropertyValueImpl.java
Tue Aug 21 15:38:01 2012
@@ -126,6 +126,9 @@ public class PropertyValueImpl extends D
     }
 
     private boolean matchesPropertyType(PropertyState state) {
+        if (state == null) {
+            return false;
+        }
         if (propertyType == PropertyType.UNDEFINED) {
             return true;
         }



Mime
View raw message