diff options
author | 2018-05-23 04:55:52 -0700 | |
---|---|---|
committer | 2018-05-23 04:57:30 -0700 | |
commit | 3493e4c7f98984b9b0109d2234b67637057d2843 (patch) | |
tree | 961039d7316b3159f8509f57dcc7a817e9481582 /src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java | |
parent | 259c67d9dd0b173fb4cc5830d29ce6004e67ff84 (diff) |
Remove some dead AbstractAction constructors
The constructors which don't accept an action environment should not be called,
with the exception of subclasses that don't run any subprocesses, and therefore
don't need an environment.
PiperOrigin-RevId: 197706734
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java b/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java index b52bc2f8d7..034f6c2670 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java +++ b/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java @@ -133,40 +133,6 @@ public abstract class AbstractAction implements Action, ActionApi { env); } - /** - * Construct an abstract action with the specified tools, inputs and outputs; - */ - protected AbstractAction( - ActionOwner owner, - Iterable<Artifact> tools, - Iterable<Artifact> inputs, - Iterable<Artifact> outputs) { - this(owner, tools, inputs, EmptyRunfilesSupplier.INSTANCE, outputs, ActionEnvironment.EMPTY); - } - - protected AbstractAction( - ActionOwner owner, - Iterable<Artifact> inputs, - RunfilesSupplier runfilesSupplier, - Iterable<Artifact> outputs) { - this( - owner, - /*tools=*/ImmutableList.of(), - inputs, - runfilesSupplier, - outputs, - ActionEnvironment.EMPTY); - } - - protected AbstractAction( - ActionOwner owner, - Iterable<Artifact> tools, - Iterable<Artifact> inputs, - RunfilesSupplier runfilesSupplier, - Iterable<Artifact> outputs) { - this(owner, tools, inputs, runfilesSupplier, outputs, ActionEnvironment.EMPTY); - } - protected AbstractAction( ActionOwner owner, Iterable<Artifact> tools, |