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

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


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

commit 4d68c0fb102e91c9b3b2b5fb3b350c1f434ad2ea
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