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

domgarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 9926773  Make fields non final in Query.java Opts so that they work 
correctly (#97)
9926773 is described below

commit 99267730d55b11dadb59a6d3893ab95bcddd37f4
Author: Dom G <domgargu...@apache.org>
AuthorDate: Thu Apr 7 16:49:42 2022 -0400

    Make fields non final in Query.java Opts so that they work correctly (#97)
---
 src/main/java/org/apache/accumulo/examples/shard/Query.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/accumulo/examples/shard/Query.java 
b/src/main/java/org/apache/accumulo/examples/shard/Query.java
index 8991f93..f888a1d 100644
--- a/src/main/java/org/apache/accumulo/examples/shard/Query.java
+++ b/src/main/java/org/apache/accumulo/examples/shard/Query.java
@@ -48,15 +48,15 @@ public class Query {
     List<String> terms = new ArrayList<>();
 
     @Parameter(names = {"-t", "--table"}, required = true, description = 
"table to use")
-    private String tableName;
+    String tableName;
 
     @Parameter(names = {"--sample"},
         description = "Do queries against sample, useful when sample is built 
using column qualifier")
-    private final boolean useSample = false;
+    boolean useSample = false;
 
     @Parameter(names = {"--sampleCutoff"},
         description = "Use sample data to determine if a query might return a 
number of documents over the cutoff.  This check is per tablet.")
-    private final Integer sampleCutoff = null;
+    Integer sampleCutoff = null;
   }
 
   public static List<String> query(BatchScanner bs, List<String> terms, 
Integer cutoff) {

Reply via email to