Skip to content

Commit

Permalink
Update reference resolution (#2726)
Browse files Browse the repository at this point in the history
As in the design.md file we are informing that it is more performing using string concatenation seems appropiate to use them instead of the String.format method
  • Loading branch information
manumafe98 authored Feb 8, 2024
1 parent e5c1052 commit 27427c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public static String logLevel(String logLine) {
}

public static String reformat(String logLine) {
return String.format("%s (%s)", message(logLine), logLevel(logLine));
return message(logLine) + " (" + logLevel(logLine) + ")";
}
}

0 comments on commit 27427c3

Please sign in to comment.