Author: thomasm
Date: Thu Dec  1 11:03:21 2016
New Revision: 1772169

URL: http://svn.apache.org/viewvc?rev=1772169&view=rev
Log:
OAK-1884 Query: log file analyzer tool

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

Modified: 
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/QueryShapeTool.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/QueryShapeTool.java?rev=1772169&r1=1772168&r2=1772169&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/QueryShapeTool.java
 (original)
+++ 
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/QueryShapeTool.java
 Thu Dec  1 11:03:21 2016
@@ -55,7 +55,7 @@ public class QueryShapeTool {
         System.out.println();
     }
 
-    private static void process(LineNumberReader reader) throws IOException {
+    public static void process(LineNumberReader reader) throws IOException {
         TreeSet<String> sortedUnique = new  TreeSet<String>();
         while (true) {
             String line = reader.readLine();
@@ -69,7 +69,7 @@ public class QueryShapeTool {
         }
     }
     
-    private static String shape(String query) {
+    public static String shape(String query) {
         String result = query;
         // replace double quoted string literals with "$s"
         result = result.replaceAll("\"[^\"]*\"", "\\$s");


Reply via email to