Skip to content

Commit 418bc8b

Browse files
author
BaierD
committed
Remove old getter for created shutdown manager in the BasicProverEnvironment
1 parent e6587bd commit 418bc8b

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/org/sosy_lab/java_smt/api/BasicProverEnvironment.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import java.util.List;
1616
import java.util.Optional;
1717
import org.checkerframework.checker.nullness.qual.Nullable;
18-
import org.sosy_lab.common.ShutdownManager;
19-
import org.sosy_lab.common.ShutdownNotifier;
2018
import org.sosy_lab.java_smt.api.SolverContext.ProverOptions;
2119

2220
/**
@@ -206,24 +204,4 @@ interface AllSatCallback<R> {
206204
default boolean registerUserPropagator(UserPropagator propagator) {
207205
return false;
208206
}
209-
210-
/**
211-
* Returns the {@link ShutdownManager} registered for this {@link ProverEnvironment}. It is
212-
* guaranteed to be a child of the {@link ShutdownNotifier} given to the creating {@link
213-
* SolverContext}, resulting in shutdown when the {@link SolverContext}s notifier is shutting
214-
* down. The notifier returned here can be shut down independently of the creating contexts
215-
* notifier. JavaSMT will never attempt to shut down this manager on its own.
216-
*
217-
* @return a {@link ShutdownManager} who is the child of the {@link ShutdownNotifier} used in the
218-
* creating {@link SolverContext}, that can be used to shut down only this {@link
219-
* ProverEnvironment}.
220-
* @throws UnsupportedOperationException if the solver does not support prover specific shutdown.
221-
*/
222-
default ShutdownManager getShutdownManagerForProver() {
223-
// Override this with the prover specific ShutdownManagers notifier for supporting solvers.
224-
// The solver should then use the prover specific ShutdownManagers notifier for stopping
225-
// instead of the contexts' notifier!
226-
throw new UnsupportedOperationException(
227-
"The chosen solver does not support isolated prover shutdown");
228-
}
229207
}

0 commit comments

Comments
 (0)