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:23 UTC

[4/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/cf7c6c5a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cf7c6c5a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cf7c6c5a

Branch: refs/heads/branch-1.1
Commit: cf7c6c5a740855b16a9d285024520a6b89dc1c30
Parents: 28a3fdd
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:19 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/cf7c6c5a/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);
   }
 
   /**