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

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
     new e8f50f966a PHOENIX-7453 Fix Phoenix to compile with commons-cli 1.9 
(#2071)
e8f50f966a is described below

commit e8f50f966a89a279e8f5eb0ccf65ad297d2d495e
Author: Istvan Toth <[email protected]>
AuthorDate: Wed Feb 5 14:47:54 2025 +0100

    PHOENIX-7453 Fix Phoenix to compile with commons-cli 1.9 (#2071)
---
 phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java 
b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
index cafd6b16f0..51f64043fe 100644
--- a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
+++ b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
@@ -160,7 +160,7 @@ public class Pherf {
         }
 
         globalProperties = 
PherfConstants.create().getProperties(PherfConstants.PHERF_PROPERTIES, false);
-        dropPherfTablesRegEx = command.getOptionValue("drop", null);
+        dropPherfTablesRegEx = command.getOptionValue("drop");
         monitor = command.hasOption("m");
         String
                 monitorFrequency =
@@ -176,7 +176,7 @@ public class Pherf {
         multiTenantWorkload = command.hasOption("mt");
         executeQuerySets = command.hasOption("q");
         zookeeper = command.getOptionValue("z", "localhost");
-        queryHint = command.getOptionValue("hint", null);
+        queryHint = command.getOptionValue("hint");
         isFunctional = command.hasOption("diff");
         listFiles = command.hasOption("listFiles");
         applySchema = !command.hasOption("disableSchemaApply");
@@ -193,8 +193,8 @@ public class Pherf {
                 command.getOptionValue("writerThreadSize",
                         
globalProperties.getProperty("pherf.default.dataloader.threadpool"));
         globalProperties.setProperty("pherf.default.dataloader.threadpool", 
writerThreadPoolSize);
-        label = command.getOptionValue("label", null);
-        compareResults = command.getOptionValue("compare", null);
+        label = command.getOptionValue("label");
+        compareResults = command.getOptionValue("compare");
         compareType = command.hasOption("useAverageCompareType") ? 
CompareType.AVERAGE : CompareType.MINIMUM;
         thinDriver = command.hasOption("thin");
         if (thinDriver) {

Reply via email to