Skip to content

Commit

Permalink
Fix -XepDisableAllWarnings flag
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Sep 29, 2022
1 parent 1bbda1e commit 89f2c1d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ public ScannerSupplier applyOverrides(ErrorProneOptions errorProneOptions) {
&& errorProneOptions.getFlags().isEmpty()
&& !errorProneOptions.isEnableAllChecksAsWarnings()
&& !errorProneOptions.isDropErrorsToWarnings()
&& !errorProneOptions.isDisableAllChecks()) {
&& !errorProneOptions.isDisableAllChecks()
&& !errorProneOptions.isDisableAllWarnings()) {
return this;
}

Expand Down

0 comments on commit 89f2c1d

Please sign in to comment.