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 #3892

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3892 from maxxedev:master bf796a4
PiperOrigin-RevId: 563771344
  • Loading branch information
maxxedev authored and Error Prone Team committed Sep 8, 2023
1 parent 5c5ec33 commit 705d222
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 705d222

Please sign in to comment.