smengcl commented on code in PR #5167:
URL: https://github.com/apache/ozone/pull/5167#discussion_r1289554798
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmKeyLocationInfoGroup.java:
##########
@@ -177,15 +184,11 @@ void addAll(long versionToAdd, List<OmKeyLocationInfo>
locationInfoList) {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("version:").append(version).append(" ");
- sb.append("isMultipartKey:").append(isMultipartKey).append(" ");
- for (List<OmKeyLocationInfo> kliList : locationVersionMap.values()) {
- for (OmKeyLocationInfo kli: kliList) {
- sb.append(kli.getLocalID()).append(" || ");
- }
- }
- return sb.toString();
+ return "OmKeyLocationInfoGroup{" +
Review Comment:
Done in 55b932fcd0432afc70e80f6a3b5868a276f5d0a0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]