From aa58aef7cc3f395d06533e946889a3d87fc8431d Mon Sep 17 00:00:00 2001 From: "copybara-service[bot]" Date: Thu, 31 Oct 2024 23:02:40 +0000 Subject: [PATCH] Latest docs on successful build 6836 auto-pushed to gh-pages --- bugpattern/FloggerArgumentToString.md | 3 ++- bugpatterns.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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