HBASE-14192 Fix REST Cluster Constructor with String List

This commit is contained in:
Andrew Purtell 2016-02-10 12:33:56 -08:00
parent 2963d59ed2
commit abb6cdce71
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**