Copilot commented on code in PR #15990:
URL: https://github.com/apache/grails-core/pull/15990#discussion_r3601732630


##########
grails-gradle/model/src/main/groovy/org/grails/io/support/SpringIOUtils.java:
##########
@@ -92,7 +92,7 @@ public static String byteArrayToHexString(byte[] in) {
             return null;
         }
 
-        StringBuffer out = new StringBuffer(in.length * 2);
+        StringBuilder out = new StringBuilder(in.length * 2);

Review Comment:
   The Javadoc still refers to a "String buffer" in the `@return` description, 
but the implementation no longer uses/returns a StringBuffer (it returns a 
String). Updating the wording avoids misleading documentation.



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