diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/BaseSpawn.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/actions/BaseSpawn.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/BaseSpawn.java b/src/main/java/com/google/devtools/build/lib/actions/BaseSpawn.java index 62c60e40fd..9221ae5d41 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/BaseSpawn.java +++ b/src/main/java/com/google/devtools/build/lib/actions/BaseSpawn.java @@ -30,7 +30,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import javax.annotation.Nullable; import javax.annotation.concurrent.Immutable; /** @@ -100,24 +99,6 @@ public class BaseSpawn implements Spawn { public BaseSpawn(List<String> arguments, Map<String, String> environment, Map<String, String> executionInfo, - // TODO(bazel-team): have this always be non-null. - @Nullable Artifact runfilesManifest, - ActionMetadata action, - ResourceSet localResources) { - this(arguments, environment, executionInfo, - ((runfilesManifest != null) - ? ImmutableMap.of(runfilesForFragment(new PathFragment(arguments.get(0))), - runfilesManifest) - : ImmutableMap.<PathFragment, Artifact>of()), - action, localResources); - } - - /** - * Returns a new Spawn. - */ - public BaseSpawn(List<String> arguments, - Map<String, String> environment, - Map<String, String> executionInfo, ActionMetadata action, ResourceSet localResources) { this(arguments, environment, executionInfo, |