Skip to content

Commit d7e4772

Browse files
committed
remove incorrect comment in test
1 parent 6ecb972 commit d7e4772

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

nullaway/src/test/java/com/uber/nullaway/jspecify/GenericMethodLambdaOrMethodRefArgTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,6 @@ interface Consumer<T extends @Nullable Object> {
852852
return null;
853853
}
854854
static void test(List<String> list) {
855-
// legal, should infer R -> @Nullable String
856855
list.stream().map(Test::mapToNull).forEach(s -> {
857856
// BUG: Diagnostic contains: dereferenced expression s is @Nullable
858857
s.hashCode();

0 commit comments

Comments
 (0)