HBASE-14192 Fix REST Cluster Constructor with String List
This commit is contained in:
parent
2963d59ed2
commit
abb6cdce71
|
@ -47,7 +47,7 @@ public class Cluster {
|
||||||
* @param nodes a list of service locations, in 'host:port' format
|
* @param nodes a list of service locations, in 'host:port' format
|
||||||
*/
|
*/
|
||||||
public Cluster(List<String> nodes) {
|
public Cluster(List<String> nodes) {
|
||||||
nodes.addAll(nodes);
|
this.nodes.addAll(nodes);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue