Skip to content

Commit

Permalink
Turn CanIgnoreReturnValueSuggester into a warning.
Browse files Browse the repository at this point in the history
#checkreturnvalue

PiperOrigin-RevId: 460267736
  • Loading branch information
kluever authored and Error Prone Team committed Jul 11, 2022
1 parent b3c4fa8 commit 1d1a896
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@ public static ScannerSupplier errorChecks() {
BugPatternNaming.class,
ByteBufferBackingArray.class,
CacheLoaderNull.class,
CanIgnoreReturnValueSuggester.class,
CanonicalDuration.class,
CatchAndPrintStackTrace.class,
CatchFail.class,
Expand Down Expand Up @@ -1027,7 +1028,6 @@ public static ScannerSupplier errorChecks() {
BindingToUnqualifiedCommonType.class,
BooleanParameter.class,
BuilderReturnThis.class,
CanIgnoreReturnValueSuggester.class,
CannotMockFinalClass.class,
CannotMockFinalMethod.class,
CatchingUnchecked.class,
Expand Down

0 comments on commit 1d1a896

Please sign in to comment.