diff --git a/src/test/java/com/google/devtools/build/lib/rules/java/JavaStarlarkApiTest.java b/src/test/java/com/google/devtools/build/lib/rules/java/JavaStarlarkApiTest.java index 456207afba165c..7f0e821d5721f8 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/java/JavaStarlarkApiTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/java/JavaStarlarkApiTest.java @@ -1784,7 +1784,7 @@ public void javaInfoSourceJarsExposed() throws Exception { new StarlarkProvider.Key( Label.parseAbsolute("//foo:extension.bzl", ImmutableMap.of()), "result")); @SuppressWarnings("unchecked") - Sequence sourceJars = (Sequence) (info.getValue("source_jars")); + Sequence sourceJars = (Sequence) info.getValue("source_jars"); assertThat(prettyArtifactNames(sourceJars)).containsExactly("foo/libmy_java_lib_a-src.jar"); assertThat(prettyArtifactNames(sourceJars)).doesNotContain("foo/libmy_java_lib_b-src.jar");