Skip to content

Commit

Permalink
Remove @CanIgnoreReturnValue from Converter.convert(), effectivel…
Browse files Browse the repository at this point in the history
…y making it `@CheckReturnValue`.

RELNOTES=n/a
PiperOrigin-RevId: 465155963
  • Loading branch information
kluever authored and Google Java Core Libraries committed Aug 3, 2022
1 parent 3396208 commit 3804050
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion android/guava/src/com/google/common/base/Converter.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ protected Converter() {
*
* @return the converted value; is null <i>if and only if</i> {@code a} is null
*/
@CanIgnoreReturnValue
@CheckForNull
public final B convert(@CheckForNull A a) {
return correctedDoForward(a);
Expand Down
1 change: 0 additions & 1 deletion guava/src/com/google/common/base/Converter.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ protected Converter() {
*
* @return the converted value; is null <i>if and only if</i> {@code a} is null
*/
@CanIgnoreReturnValue
@CheckForNull
public final B convert(@CheckForNull A a) {
return correctedDoForward(a);
Expand Down

0 comments on commit 3804050

Please sign in to comment.