Skip to content
Snippets Groups Projects
Commit 8ace19f1 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

renamed method

parent 2383ea46
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught ...@@ -132,7 +132,7 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught
Set<Stage> intraStages; Set<Stage> intraStages;
for (Stage stage : threadableStageJobs) { for (Stage stage : threadableStageJobs) {
intraStages = traverseIntraStages(stage); intraStages = traverseIntraStages(stage);
newListener = factory.create(); newListener = factory.createInstance();
switch (stage.getTerminationStrategy()) { switch (stage.getTerminationStrategy()) {
case BY_SIGNAL: { case BY_SIGNAL: {
final RunnableConsumerStage runnable = new RunnableConsumerStage(stage); final RunnableConsumerStage runnable = new RunnableConsumerStage(stage);
......
...@@ -17,6 +17,6 @@ package teetime.framework.exceptionHandling; ...@@ -17,6 +17,6 @@ package teetime.framework.exceptionHandling;
public interface IExceptionListenerFactory { public interface IExceptionListenerFactory {
public AbstractExceptionListener create(); public AbstractExceptionListener createInstance();
} }
...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; ...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling;
public class IgnoringExceptionListenerFactory implements IExceptionListenerFactory { public class IgnoringExceptionListenerFactory implements IExceptionListenerFactory {
@Override @Override
public AbstractExceptionListener create() { public AbstractExceptionListener createInstance() {
return new IgnoringExceptionListener(); return new IgnoringExceptionListener();
} }
......
...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; ...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling;
public class LoggingExceptionListenerFactory implements IExceptionListenerFactory { public class LoggingExceptionListenerFactory implements IExceptionListenerFactory {
@Override @Override
public AbstractExceptionListener create() { public AbstractExceptionListener createInstance() {
return new LoggingExceptionListener(); return new LoggingExceptionListener();
} }
......
...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; ...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling;
public class TerminatingExceptionListenerFactory implements IExceptionListenerFactory { public class TerminatingExceptionListenerFactory implements IExceptionListenerFactory {
@Override @Override
public AbstractExceptionListener create() { public AbstractExceptionListener createInstance() {
return new TerminatingExceptionListener(); return new TerminatingExceptionListener();
} }
......
...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; ...@@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling;
public class TestListenerFactory implements IExceptionListenerFactory { public class TestListenerFactory implements IExceptionListenerFactory {
@Override @Override
public AbstractExceptionListener create() { public AbstractExceptionListener createInstance() {
return new TestListener(); return new TestListener();
} }
......
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