Skip to content

Commit

Permalink
Demonstrate Error Prone errors in multiple files.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpovirk committed Aug 21, 2024
1 parent 7810685 commit f20bc47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions guava/src/com/google/common/base/Absent.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ private Absent() {}

@Override
public boolean isPresent() {
Optional.absent();
return false;
}

Expand Down
1 change: 1 addition & 0 deletions guava/src/com/google/common/base/Present.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ final class Present<T> extends Optional<T> {

@Override
public boolean isPresent() {
Optional.absent();
return true;
}

Expand Down

0 comments on commit f20bc47

Please sign in to comment.