From daf3e43d79c3bcd0c7278d053d0b041643e4a030 Mon Sep 17 00:00:00 2001 From: Nick Korostelev Date: Wed, 12 Oct 2022 18:02:43 -0400 Subject: [PATCH] remove dup line --- .../devtools/build/lib/rules/java/JavaTargetAttributes.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JavaTargetAttributes.java b/src/main/java/com/google/devtools/build/lib/rules/java/JavaTargetAttributes.java index c60931f6f10fa5..9b219c4fcf3cd1 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/java/JavaTargetAttributes.java +++ b/src/main/java/com/google/devtools/build/lib/rules/java/JavaTargetAttributes.java @@ -130,7 +130,6 @@ public Builder addSourceFiles(Iterable sourceFiles) { @CanIgnoreReturnValue public Builder merge(JavaCompilationArgsProvider context, boolean pruneTransitiveDeps) { - addCompileTimeClassPathEntries(context.getTransitiveCompileTimeJars()); addCompileTimeClassPathEntries( pruneTransitiveDeps ? context.getDirectCompileTimeJars() : context.getTransitiveCompileTimeJars());