winterhazel commented on code in PR #10546:
URL: https://github.com/apache/cloudstack/pull/10546#discussion_r1991132606


##########
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:
   I'll add some tests 



-- 
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]

Reply via email to