From 270963bb8616f6c714be3b5cf61f05db2f31a1a9 Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Thu, 10 Oct 2024 08:07:48 -0700 Subject: [PATCH] tweak name --- nullaway/src/test/java/com/uber/nullaway/VarargsTests.java | 4 ++-- test-java-lib/src/main/java/com/uber/lib/Varargs.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nullaway/src/test/java/com/uber/nullaway/VarargsTests.java b/nullaway/src/test/java/com/uber/nullaway/VarargsTests.java index 1aa7f90f61..52a3eb4a23 100644 --- a/nullaway/src/test/java/com/uber/nullaway/VarargsTests.java +++ b/nullaway/src/test/java/com/uber/nullaway/VarargsTests.java @@ -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(); diff --git a/test-java-lib/src/main/java/com/uber/lib/Varargs.java b/test-java-lib/src/main/java/com/uber/lib/Varargs.java index 39ab61f058..a232d1c14a 100644 --- a/test-java-lib/src/main/java/com/uber/lib/Varargs.java +++ b/test-java-lib/src/main/java/com/uber/lib/Varargs.java @@ -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) {} }