From 20d880770fb5657d4cb35c971d074b6965a820a8 Mon Sep 17 00:00:00 2001 From: Googler Date: Sun, 16 Jan 2022 08:55:09 -0800 Subject: [PATCH] Automatic code cleanup. PiperOrigin-RevId: 422194898 --- .../com/google/devtools/build/lib/rules/java/JavaImport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JavaImport.java b/src/main/java/com/google/devtools/build/lib/rules/java/JavaImport.java index cfbb4051adb20d..bfcc7b186fa6b1 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/java/JavaImport.java +++ b/src/main/java/com/google/devtools/build/lib/rules/java/JavaImport.java @@ -106,7 +106,7 @@ public ConfiguredTarget create(RuleContext ruleContext) filesBuilder.addAll(jars); ImmutableBiMap compilationToRuntimeJarMap = - compilationToRuntimeJarMapBuilder.build(); + compilationToRuntimeJarMapBuilder.buildOrThrow(); NestedSet filesToBuild = filesBuilder.build();