Skip to content

Commit

Permalink
exclude junit5's @RegisterExtension from unused variable check
Browse files Browse the repository at this point in the history
Fixes google#3892

COPYBARA_INTEGRATE_REVIEW=google#3892 from maxxedev:master bf796a4
PiperOrigin-RevId: 563776451
  • Loading branch information
maxxedev authored and Error Prone Team committed Sep 8, 2023
1 parent 5c5ec33 commit a992ae7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public final class UnusedVariable extends BugChecker implements CompilationUnitT
"javax.persistence.Version",
"javax.xml.bind.annotation.XmlElement",
"org.junit.Rule",
"org.junit.jupiter.api.extension.RegisterExtension",
"org.openqa.selenium.support.FindAll",
"org.openqa.selenium.support.FindBy",
"org.openqa.selenium.support.FindBys",
Expand Down

0 comments on commit a992ae7

Please sign in to comment.