You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by hu...@apache.org on 2019/11/19 22:12:41 UTC

[helix] branch master updated: Replace jcommander Maps and Lists with google common's. (#579)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2dcff16  Replace jcommander Maps and Lists with google common's. (#579)
2dcff16 is described below

commit 2dcff16051613589a05d8b90ced869196bc1cda8
Author: Huizhi L <ih...@gmail.com>
AuthorDate: Tue Nov 19 14:12:34 2019 -0800

    Replace jcommander Maps and Lists with google common's. (#579)
    
    Replace jcommander Maps and Lists with google common's, so we make these classes' usage consistent from google common.
---
 .../integration/rebalancer/TestCustomizedIdealStateRebalancer.java     | 3 ++-
 .../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.java   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestCustomizedIdealStateRebalancer.java b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestCustomizedIdealStateRebalancer.java
index 0b3652a..8fa87c2 100644
--- a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestCustomizedIdealStateRebalancer.java
+++ b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestCustomizedIdealStateRebalancer.java
@@ -23,7 +23,7 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import com.beust.jcommander.internal.Lists;
+import com.google.common.collect.Lists;
 import org.apache.helix.HelixDataAccessor;
 import org.apache.helix.HelixManager;
 import org.apache.helix.PropertyKey.Builder;
@@ -45,6 +45,7 @@ import org.apache.helix.tools.ClusterStateVerifier.ZkVerifier;
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
+
 public class TestCustomizedIdealStateRebalancer extends ZkStandAloneCMTestBase {
   String db2 = TEST_DB + "2";
   static boolean testRebalancerCreated = false;
diff --git a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.java b/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.java
index e9eb4f3..79f284e 100644
--- a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.java
+++ b/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.java
@@ -31,7 +31,7 @@ import javax.management.JMException;
 import javax.management.MBeanServerConnection;
 import javax.management.ObjectName;
 
-import com.beust.jcommander.internal.Maps;
+import com.google.common.collect.Maps;
 import org.apache.helix.TestHelper;
 import org.apache.helix.ZNRecord;
 import org.apache.helix.controller.stages.BestPossibleStateOutput;