google / google/error-prone

Apply ReturnValueIgnored to common JDK methods

Open
#810 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

I would like `CheckReturnValue` to apply to common JDK methods like `Integer.compareTo(Integer)`, `String.substring(int, int)`, and `Collection.get`. Could this checker either trigger on these automatically or allow some kind of configuration?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.