Skip to content

Commit

Permalink
Update nullaway/src/main/java/com/uber/nullaway/ErrorBuilder.java
Browse files Browse the repository at this point in the history
Co-authored-by: Lázaro Clapp <lazaro@uber.com>
  • Loading branch information
msridhar and lazaroclapp committed Aug 25, 2023
1 parent eece8d7 commit fb5406a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nullaway/src/main/java/com/uber/nullaway/ErrorBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private Description.Builder addSuggestedSuppression(
builder = addCastToNonNullFix(suggestTree, builder);
} else {
// When there is a castToNonNull method, suggestTree is set to the expression to be
// casted, which is not suppressible. For simplicity, we just always recompute the
// casted, which is not suppressible. For simplicity, we just always recompute the
// suppressible node here.
Tree suppressibleNode = suppressibleNode(state.getPath());
if (suppressibleNode != null) {
Expand Down

0 comments on commit fb5406a

Please sign in to comment.