You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2016/02/10 21:36:24 UTC

[5/5] hbase git commit: HBASE-14192 Fix REST Cluster Constructor with String List

HBASE-14192 Fix REST Cluster Constructor with String List


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/64177548
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/64177548
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/64177548

Branch: refs/heads/0.98
Commit: 641775481b24e95333ecfa696e41943302ce8e87
Parents: 6bc3557
Author: Andrew Purtell <ap...@apache.org>
Authored: Wed Feb 10 12:33:56 2016 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Feb 10 12:34:29 2016 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/rest/client/Cluster.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/64177548/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Cluster.java
----------------------------------------------------------------------
diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Cluster.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Cluster.java
index a2de329..0989eb0 100644
--- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Cluster.java
+++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Cluster.java
@@ -47,7 +47,7 @@ public class Cluster {
    * @param nodes a list of service locations, in 'host:port' format
    */
   public Cluster(List<String> nodes) {
-    nodes.addAll(nodes);
+    this.nodes.addAll(nodes);
   }
 
   /**