This is an automated email from the ASF dual-hosted git repository.

thomasm pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 09069af  OAK-9625 (remove trailing whitespace)
09069af is described below

commit 09069afbf4ec5eacf40a763a831f037929bf078c
Author: thomasm <[email protected]>
AuthorDate: Fri Nov 26 17:27:19 2021 +0100

    OAK-9625 (remove trailing whitespace)
---
 .../org/apache/jackrabbit/oak/query/SQL2ParserTest.java    | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/oak-core/src/test/java/org/apache/jackrabbit/oak/query/SQL2ParserTest.java 
b/oak-core/src/test/java/org/apache/jackrabbit/oak/query/SQL2ParserTest.java
index 1243ccc..5706a46 100644
--- a/oak-core/src/test/java/org/apache/jackrabbit/oak/query/SQL2ParserTest.java
+++ b/oak-core/src/test/java/org/apache/jackrabbit/oak/query/SQL2ParserTest.java
@@ -36,15 +36,15 @@ public class SQL2ParserTest {
     private static final NodeTypeInfoProvider nodeTypes = new 
NodeStateNodeTypeInfoProvider(INITIAL_CONTENT);
 
     private static final SQL2Parser p = createTestSQL2Parser();
-    
+
     public static SQL2Parser createTestSQL2Parser() {
         return createTestSQL2Parser(NamePathMapper.DEFAULT, nodeTypes, new 
QueryEngineSettings());
     }
-    
+
     public static SQL2Parser createTestSQL2Parser(NamePathMapper mappings, 
NodeTypeInfoProvider nodeTypes2,
             QueryEngineSettings qeSettings) {
         QueryStatsData data = new QueryStatsData("", "");
-        return new SQL2Parser(mappings, nodeTypes2, new QueryEngineSettings(), 
+        return new SQL2Parser(mappings, nodeTypes2, new QueryEngineSettings(),
                 data.new QueryExecutionStats());
     }
 
@@ -53,8 +53,8 @@ public class SQL2ParserTest {
     public void testIgnoreSqlComment() throws ParseException {
         p.parse("select * from [nt:unstructured] /* sql comment */");
         p.parse("select [jcr:path], [jcr:score], * from [nt:base] as a /* 
xpath: //* */");
-        p.parse("/* begin query */ select [jcr:path] /* this is the path */, " 
+ 
-                "[jcr:score] /* the score */, * /* everything*/ " + 
+        p.parse("/* begin query */ select [jcr:path] /* this is the path */, " 
+
+                "[jcr:score] /* the score */, * /* everything*/ " +
                 "from [nt:base] /* all node types */ as a /* an identifier 
*/");
     }
 
@@ -68,12 +68,12 @@ public class SQL2ParserTest {
         p.parse(new XPathToSQL2Converter()
                 .convert("/jcr:root/test/*/nt:resource[@jcr:encoding]"));
         p.parse(new XPathToSQL2Converter()
-                .convert("/jcr:root/test/*/*/nt:resource[@jcr:encoding]"));    
    
+                .convert("/jcr:root/test/*/*/nt:resource[@jcr:encoding]"));
         String xpath = "/jcr:root/etc/commerce/products//*[@cq:commerceType = 
'product' " +
                 "and ((@size = 'M' or */@size= 'M' or */*/@size = 'M' " +
                 "or */*/*/@size = 'M' or */*/*/*/@size = 'M' or 
*/*/*/*/*/@size = 'M'))]";
         p.parse(new XPathToSQL2Converter()
-                .convert(xpath));        
+                .convert(xpath));
     }
 
     // see OAK-OAK-830: XPathToSQL2Converter fails to wrap or clauses

Reply via email to