dk2k commented on code in PR #9828:
URL: https://github.com/apache/camel/pull/9828#discussion_r1161096578
##########
catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java:
##########
@@ -503,9 +503,7 @@ private static void gatherRouteCoverageSummary(
private static String padString(int level) {
StringBuilder sb = new StringBuilder();
- for (int i = 0; i < level; i++) {
- sb.append(" ");
- }
+ sb.append(" ".repeat(Math.max(0, level)));
Review Comment:
it should. And the StringBuilder isn't necessary after the loop gor removed.
So it will be at least one more commit here.
It was just the automated substitution - to be on the safe side
--
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]