diff --git a/bugpattern/FloggerArgumentToString.md b/bugpattern/FloggerArgumentToString.md index 7d017b73969..8bba0141af9 100644 --- a/bugpattern/FloggerArgumentToString.md +++ b/bugpattern/FloggerArgumentToString.md @@ -1,7 +1,8 @@ --- title: FloggerArgumentToString summary: Use Flogger's printf-style formatting instead of explicitly converting arguments - to strings + to strings. Note that Flogger does more than just call toString; for instance, it + formats arrays sensibly. layout: bugpattern tags: '' severity: WARNING diff --git a/bugpatterns.md b/bugpatterns.md index dc7f612315b..b597c4cefc6 100644 --- a/bugpatterns.md +++ b/bugpatterns.md @@ -786,7 +786,7 @@ __[FloatingPointLiteralPrecision](bugpattern/FloatingPointLiteralPrecision)__
-Use Flogger's printf-style formatting instead of explicitly converting arguments to strings +Use Flogger's printf-style formatting instead of explicitly converting arguments to strings. Note that Flogger does more than just call toString; for instance, it formats arrays sensibly. __[FloggerStringConcatenation](bugpattern/FloggerStringConcatenation)__
Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation