From 8ace19f117f64704e45bfbdc05d63ee6fe9d83b0 Mon Sep 17 00:00:00 2001 From: Nelson Tavares de Sousa <stu103017@mail.uni-kiel.de> Date: Wed, 29 Apr 2015 19:30:45 +0200 Subject: [PATCH] renamed method --- src/main/java/teetime/framework/Analysis.java | 2 +- .../framework/exceptionHandling/IExceptionListenerFactory.java | 2 +- .../exceptionHandling/IgnoringExceptionListenerFactory.java | 2 +- .../exceptionHandling/LoggingExceptionListenerFactory.java | 2 +- .../exceptionHandling/TerminatingExceptionListenerFactory.java | 2 +- .../framework/exceptionHandling/TestListenerFactory.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/teetime/framework/Analysis.java b/src/main/java/teetime/framework/Analysis.java index fb0837cd..8d78e366 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 4afd82d9..70c1fd1e 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 b08fb3a4..6e4e370e 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 ec14ec20..7ace46cf 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 f6f484fc..abec18d3 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 642fdd59..4722dbdd 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(); } -- GitLab