Skip to content

Commit

Permalink
Omit ConstructorThrow visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Nov 26, 2023
1 parent 1f78412 commit dd34432
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gradle/java-setup.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ spotbugs {
ignoreFailures = false // bug free or it doesn't ship!
reportLevel = 'medium' // low|medium|high (low = sensitive to even minor mistakes)
omitVisitors = [
'FindReturnRef'] // https://spotbugs.readthedocs.io/en/latest/detectors.html#findreturnref
// https://spotbugs.readthedocs.io/en/latest/detectors.html#constructorthrow
'ConstructorThrow',
// https://spotbugs.readthedocs.io/en/latest/detectors.html#findreturnref
'FindReturnRef',
]
}
tasks.named('spotbugsTest') {
enabled = false
Expand Down

0 comments on commit dd34432

Please # to comment.