Skip to content

Commit

Permalink
making default Type method Nullable in visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
akulk022 committed Aug 16, 2023
1 parent 47dd926 commit f5b6c1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nullaway/src/main/java/com/uber/nullaway/GenericsChecks.java
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,9 @@ public Boolean visitArrayType(Type.ArrayType lhsType, Type rhsType) {
}

@Override
@Nullable
public Boolean visitType(Type t, Type type) {
return false;
return null;
}
};

Expand Down

0 comments on commit f5b6c1d

Please sign in to comment.