jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1536708 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/FilterTest.java
Date Tue, 29 Oct 2013 13:40:30 GMT
Author: alexparvulescu
Date: Tue Oct 29 13:40:29 2013
New Revision: 1536708

URL: http://svn.apache.org/r1536708
Log:
OAK-1108 Query constraints marked as invalid in the case of an mvp
 - fixed compilation issue on test

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/FilterTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/FilterTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/FilterTest.java?rev=1536708&r1=1536707&r2=1536708&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/FilterTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/FilterTest.java
Tue Oct 29 13:40:29 2013
@@ -24,6 +24,7 @@ import static org.apache.jackrabbit.oak.
 
 import java.text.ParseException;
 
+import org.apache.jackrabbit.oak.namepath.NamePathMapper;
 import org.apache.jackrabbit.oak.query.xpath.XPathToSQL2Converter;
 import org.apache.jackrabbit.oak.spi.query.Filter;
 import org.apache.jackrabbit.oak.spi.state.NodeState;
@@ -35,7 +36,7 @@ public class FilterTest {
     private final NodeState types = INITIAL_CONTENT.getChildNode(JCR_SYSTEM)
             .getChildNode(JCR_NODE_TYPES);
 
-    private final SQL2Parser p = new SQL2Parser(types);
+    private final SQL2Parser p = new SQL2Parser(NamePathMapper.DEFAULT, types);
 
     private Filter createFilter(String xpath) throws ParseException {
         String sql = new XPathToSQL2Converter().convert(xpath);



Mime
View raw message