Pankraz76 commented on code in PR #2395: URL: https://github.com/apache/maven/pull/2395#discussion_r2119200245
########## compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java: ########## @@ -132,18 +132,10 @@ public boolean checkOutOfDate(Date lastModified) { @Override public String toString() { - StringBuilder buffer = new StringBuilder(64); - buffer.append("{enabled="); - buffer.append(enabled); - buffer.append(", checksums="); - buffer.append(checksumPolicy); - buffer.append(", updates="); - buffer.append(updatePolicy); - buffer.append('}'); - return buffer.toString(); + return "{enabled=" + enabled + ", checksums=" + checksumPolicy + ", updates=" + updatePolicy + '}'; } - public void merge(ArtifactRepositoryPolicy policy) { Review Comment: kindly request your feedback on this. - https://github.com/apache/maven/pull/2417 -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org