Remove an extra map lookup from SpawnInputExpander.
Closes
@@ -97,10 +97,8 @@ public class SpawnInputExpander {
PathFragment targetLocation,
ActionInput input) {
Preconditions.checkArgument(!targetLocation.isAbsolute(), targetLocation);
- if (!inputMappings.containsKey(targetLocation)) {
inputMappings.put(targetLocation, input);
}
- }
/** Adds runfiles inputs from runfilesSupplier to inputMappings. */
@VisibleForTesting
