vishesh92 commented on code in PR #10546: URL: https://github.com/apache/cloudstack/pull/10546#discussion_r1991049054
########## server/src/main/java/org/apache/cloudstack/storage/heuristics/presetvariables/GenericHeuristicPresetVariable.java: ########## @@ -38,8 +38,6 @@ public void setName(String name) { @Override public String toString() { - return String.format("GenericHeuristicPresetVariable %s", - ReflectionToStringBuilderUtils.reflectOnlySelectedFields( - this, fieldNamesToIncludeInToString.toArray(new String[0]))); + return ReflectionToStringBuilderUtils.reflectOnlySelectedFields(this, fieldNamesToIncludeInToString.toArray(new String[0])); Review Comment: @winterhazel PR looks good but can you add a comment to avoid similar issues in the future. -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org