Skip to content

Commit

Permalink
Latest docs on successful build 5878 auto-pushed to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
copybara-service[bot] committed Jan 3, 2024
1 parent bc9a659 commit 4d96550
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bugpattern/AnnotateFormatMethod.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: AnnotateFormatMethod
summary: This method passes a pair of parameters through to String.format, but the
enclosing method wasn't annotated @FormatMethod. Doing so gives compile-time rather
than run-time protection against malformed format strings.
summary: This method uses a pair of parameters as a format string and its arguments,
but the enclosing method wasn't annotated @FormatMethod. Doing so gives compile-time
rather than run-time protection against malformed format strings.
layout: bugpattern
tags: FragileCode
severity: WARNING
Expand Down
2 changes: 1 addition & 1 deletion bugpatterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ __[AmbiguousMethodReference](bugpattern/AmbiguousMethodReference)__<br>
Method reference is ambiguous

__[AnnotateFormatMethod](bugpattern/AnnotateFormatMethod)__<br>
This method passes a pair of parameters through to String.format, but the enclosing method wasn&#39;t annotated @FormatMethod. Doing so gives compile-time rather than run-time protection against malformed format strings.
This method uses a pair of parameters as a format string and its arguments, but the enclosing method wasn&#39;t annotated @FormatMethod. Doing so gives compile-time rather than run-time protection against malformed format strings.

__[ArgumentSelectionDefectChecker](bugpattern/ArgumentSelectionDefectChecker)__<br>
Arguments are in the wrong order or could be commented for clarity.
Expand Down

0 comments on commit 4d96550

Please sign in to comment.