Skip to content

Commit

Permalink
tweak name
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Oct 10, 2024
1 parent b38e3cb commit 270963b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nullaway/src/test/java/com/uber/nullaway/VarargsTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public void nullableTypeUseVarArgsFromBytecode() {
"package com.uber;",
"import com.uber.lib.Varargs;",
"public class Test {",
" public void testFullyQualifiedTypeUse() {",
" public void testTypeUse() {",
" String[] x = null;",
" Varargs.fullyQualified(x);",
" Varargs.typeUse(x);",
" }",
"}")
.doTest();
Expand Down
2 changes: 1 addition & 1 deletion test-java-lib/src/main/java/com/uber/lib/Varargs.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ public class Varargs {

public Varargs(@Nullable String... args) {}

public static void fullyQualified(String @org.jspecify.annotations.Nullable ... args) {}
public static void typeUse(String @org.jspecify.annotations.Nullable ... args) {}
}

0 comments on commit 270963b

Please sign in to comment.