diff --git a/src/main/java/teetime/framework/Analysis.java b/src/main/java/teetime/framework/Analysis.java index fb0837cd830c32aaeeca5f25500529755df5b221..8d78e3669eec8894722f5953d608340908539776 100644 --- a/src/main/java/teetime/framework/Analysis.java +++ b/src/main/java/teetime/framework/Analysis.java @@ -132,7 +132,7 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught Set<Stage> intraStages; for (Stage stage : threadableStageJobs) { intraStages = traverseIntraStages(stage); - newListener = factory.create(); + newListener = factory.createInstance(); switch (stage.getTerminationStrategy()) { case BY_SIGNAL: { final RunnableConsumerStage runnable = new RunnableConsumerStage(stage); diff --git a/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java index 4afd82d959b1905e2801533ba7cf8799d775d803..70c1fd1e7e07928c0ad73b548cace570ad01b489 100644 --- a/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java +++ b/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java @@ -17,6 +17,6 @@ package teetime.framework.exceptionHandling; public interface IExceptionListenerFactory { - public AbstractExceptionListener create(); + public AbstractExceptionListener createInstance(); } diff --git a/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java index b08fb3a4a4244ab97229c8e60dff481affcead5a..6e4e370e03135d56c94e0fc90b46b2143f4a8f1b 100644 --- a/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java +++ b/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java @@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; public class IgnoringExceptionListenerFactory implements IExceptionListenerFactory { @Override - public AbstractExceptionListener create() { + public AbstractExceptionListener createInstance() { return new IgnoringExceptionListener(); } diff --git a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java index ec14ec20ea644502647132d7cdd76c9dab60ffe7..7ace46cf8c3199f90c86f8e1c5587926c0d6c79f 100644 --- a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java +++ b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java @@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; public class LoggingExceptionListenerFactory implements IExceptionListenerFactory { @Override - public AbstractExceptionListener create() { + public AbstractExceptionListener createInstance() { return new LoggingExceptionListener(); } diff --git a/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java index f6f484fcbdfa78a91076ce030d078ba083882c29..abec18d3415ef7821e06f18070e5b913604a6eaf 100644 --- a/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java +++ b/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java @@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; public class TerminatingExceptionListenerFactory implements IExceptionListenerFactory { @Override - public AbstractExceptionListener create() { + public AbstractExceptionListener createInstance() { return new TerminatingExceptionListener(); } diff --git a/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java b/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java index 642fdd59dcf39fbd6672d847e89e9c17d65c040b..4722dbddb859a75ee62480be6cba1bd8f26e8ba3 100644 --- a/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java +++ b/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java @@ -18,7 +18,7 @@ package teetime.framework.exceptionHandling; public class TestListenerFactory implements IExceptionListenerFactory { @Override - public AbstractExceptionListener create() { + public AbstractExceptionListener createInstance() { return new TestListener(); }