Skip to content

Commit

Permalink
Update CanIgnoreReturnValueSuggester summary.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 594339474
  • Loading branch information
kluever authored and Error Prone Team committed Dec 29, 2023
1 parent 5fa727a commit 63cf192
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -70,8 +70,8 @@
*/
@BugPattern(
summary =
"Methods with ignorable return values (including methods that always 'return this') should"
+ " be annotated with @com.google.errorprone.annotations.CanIgnoreReturnValue",
"Methods that always return 'this' (or return an input parameter) should be annotated with"
+ " @com.google.errorprone.annotations.CanIgnoreReturnValue",
severity = WARNING)
public final class CanIgnoreReturnValueSuggester extends BugChecker implements MethodTreeMatcher {

Expand Down

0 comments on commit 63cf192

Please sign in to comment.