Skip to content
Snippets Groups Projects
Commit 433526e5 authored by Christian Wulf's avatar Christian Wulf
Browse files

changed visibilities

parent 8e2c0366
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ abstract class AbstractRunnableStage implements Runnable {
protected abstract void afterStageExecution();
public static AbstractRunnableStage create(final Stage stage) {
static AbstractRunnableStage create(final Stage stage) {
if (stage.getTerminationStrategy() == TerminationStrategy.BY_SIGNAL) {
return new RunnableConsumerStage(stage);
} else {
......
......@@ -20,11 +20,11 @@ import java.util.concurrent.Semaphore;
import teetime.framework.signal.StartingSignal;
import teetime.framework.signal.TerminatingSignal;
public final class RunnableProducerStage extends AbstractRunnableStage {
public class RunnableProducerStage extends AbstractRunnableStage {
private final Semaphore startSemaphore = new Semaphore(0);
RunnableProducerStage(final Stage stage) {
public RunnableProducerStage(final Stage stage) {
super(stage);
}
......@@ -45,7 +45,7 @@ public final class RunnableProducerStage extends AbstractRunnableStage {
this.stage.onSignal(terminatingSignal, null);
}
public void triggerStartingSignal() {
void triggerStartingSignal() {
startSemaphore.release();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment