HBASE-20737 (addendum) put collection into ArrayList instead of addAll function -- RetriesExhaustedWithDetailsException.java
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
83969b0da1
commit
8aabe36a49
|
@ -117,8 +117,7 @@ extends RetriesExhaustedException {
|
|||
String s = getDesc(classifyExs(exceptions));
|
||||
StringBuilder addrs = new StringBuilder(s);
|
||||
addrs.append("servers with issues: ");
|
||||
Set<String> uniqAddr = new HashSet<>();
|
||||
uniqAddr.addAll(hostnamePort);
|
||||
Set<String> uniqAddr = new HashSet<>(hostnamePort);
|
||||
|
||||
for (String addr : uniqAddr) {
|
||||
addrs.append(addr).append(", ");
|
||||
|
|
Loading…
Reference in New Issue