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
c08eff67af
commit
d23a517b61
|
@ -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