Skip to content

Commit

Permalink
Add a note to FloggerArgumentToString that Flogger handles arrays and…
Browse files Browse the repository at this point in the history
… such nicely.

PiperOrigin-RevId: 691960142
  • Loading branch information
graememorgan authored and Error Prone Team committed Oct 31, 2024
1 parent f0c3c1e commit d173d85
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
@BugPattern(
summary =
"Use Flogger's printf-style formatting instead of explicitly converting arguments to"
+ " strings",
+ " strings. Note that Flogger does more than just call toString; for instance, it"
+ " formats arrays sensibly.",
severity = WARNING)
public class FloggerArgumentToString extends BugChecker implements MethodInvocationTreeMatcher {

Expand Down

0 comments on commit d173d85

Please # to comment.