< prev index next >
src/share/classes/javax/management/remote/rmi/RMIConnector.java
Print this page
@ rev 11389 : 8147857: RMIConnector logs attribute names incorrectly
| Summary: Swap args passed to Collectors.joining
| Reviewed-by:
*** 2637,2645 ****
static String getAttributesNames(AttributeList attributes) {
return attributes != null ?
attributes.asList().stream()
.map(Attribute::getName)
! .collect(Collectors.joining("[", ", ", "]"))
: "[]";
}
}
--- 2637,2645 ----
static String getAttributesNames(AttributeList attributes) {
return attributes != null ?
attributes.asList().stream()
.map(Attribute::getName)
! .collect(Collectors.joining(", ", "[", "]"))
: "[]";
}
}
< prev index next >