Skip to content

Commit

Permalink
exclude junit5's @RegisterExtension from unused variable check
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxedev committed May 8, 2023
1 parent 2000ac2 commit bf796a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,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 bf796a4

Please sign in to comment.