diff --git a/dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/skyframe/SkyFunctionEnvironment.java b/dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/skyframe/SkyFunctionEnvironment.java index 8cacd671d9d..08f16cec54b 100644 --- a/dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/skyframe/SkyFunctionEnvironment.java +++ b/dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/skyframe/SkyFunctionEnvironment.java @@ -32,10 +32,10 @@ import com.google.devtools.build.lib.util.GroupedList.GroupedListHelper; import com.google.devtools.build.lib.util.Pair; import com.google.devtools.build.skyframe.EvaluationProgressReceiver.EvaluationState; +import com.google.devtools.build.skyframe.GraphInconsistencyReceiver.Inconsistency; import com.google.devtools.build.skyframe.NodeEntry.DependencyState; import com.google.devtools.build.skyframe.ParallelEvaluatorContext.EnqueueParentBehavior; import com.google.devtools.build.skyframe.QueryableGraph.Reason; -import com.google.devtools.build.skyframe.proto.GraphInconsistency.Inconsistency; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; @@ -153,7 +153,6 @@ public void post(ExtendedEventHandler.Postable e) { } } }; - private final ParallelEvaluatorContext evaluatorContext; SkyFunctionEnvironment( @@ -871,11 +870,6 @@ public String toString() { .toString(); } - @Override - public boolean restartPermitted() { - return evaluatorContext.restartPermitted(); - } - /** Thrown during environment construction if previously requested deps are no longer done. */ static class UndonePreviouslyRequestedDeps extends Exception { private final ImmutableList depKeys;