Skip to content

Commit

Permalink
Remove incorrect statement from BugPattern index doc
Browse files Browse the repository at this point in the history
#4248

Fixes #4249

FUTURE_COPYBARA_INTEGRATE_REVIEW=#4249 from elkkhan:doc-remove-bugpattern-examples-statement 8c7cf54
PiperOrigin-RevId: 596951382
  • Loading branch information
elkkhan authored and Error Prone Team committed Jan 10, 2024
1 parent 43e3bd1 commit f1bcfc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
Expand Up @@ -4,9 +4,7 @@

# Bug patterns

This list is auto-generated from our sources. Each bug pattern includes code
examples of both positive and negative cases; these examples are used in our
regression test suite.
This list is auto-generated from our sources.

Patterns which are marked __Experimental__ will not be evaluated against your
code, unless you specifically configure Error Prone. The default checks are
Expand Down
Expand Up @@ -2,9 +2,7 @@

[TOC]

This list is auto-generated from our sources. Each bug pattern includes code
examples of both positive and negative cases; these examples are used in our
regression test suite.
This list is auto-generated from our sources.

Patterns which are marked __Experimental__ will not be evaluated against your
code, unless you specifically configure Error Prone. The default checks are
Expand Down
Expand Up @@ -59,9 +59,7 @@ public void dumpInternal() throws Exception {
.isEqualTo(
"# Bug patterns\n\n"
+ "[TOC]\n\n"
+ "This list is auto-generated from our sources. Each bug pattern includes code\n"
+ "examples of both positive and negative cases; these examples are used in our\n"
+ "regression test suite.\n"
+ "This list is auto-generated from our sources.\n"
+ "\n"
+ "Patterns which are marked __Experimental__ will not be evaluated against your\n"
+ "code, unless you specifically configure Error Prone. The default checks are\n"
Expand Down Expand Up @@ -116,9 +114,7 @@ public void dumpExternal() throws Exception {
+ "---\n\n\n"
+ "# Bug patterns\n"
+ "\n"
+ "This list is auto-generated from our sources. Each bug pattern includes code\n"
+ "examples of both positive and negative cases; these examples are used in our\n"
+ "regression test suite.\n"
+ "This list is auto-generated from our sources.\n"
+ "\n"
+ "Patterns which are marked __Experimental__ will not be evaluated against your\n"
+ "code, unless you specifically configure Error Prone. The default checks are\n"
Expand Down

0 comments on commit f1bcfc1

Please sign in to comment.