From 4de966dacf3b394d8c4aeb8f0924f69058eb5ccd Mon Sep 17 00:00:00 2001
From: Nelson Tavares de Sousa <ntd@informatik.uni-kiel.de>
Date: Fri, 27 Mar 2015 13:56:51 +0100
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 01cefe37..0a701290 100644
--- a/src/main/java/teetime/framework/Analysis.java
+++ b/src/main/java/teetime/framework/Analysis.java
@@ -126,7 +126,7 @@ public final class Analysis implements UncaughtExceptionHandler {
 		}
 		for (Stage stage : threadableStageJobs) {
 			AbstractExceptionListener newListener;
-			newListener = factory.newHandlerInstance();
+			newListener = factory.create();
 			switch (stage.getTerminationStrategy()) {
 			case BY_SIGNAL: {
 				final Thread thread = new Thread(new RunnableConsumerStage(stage, newListener));
diff --git a/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java
index 56e93d4f..4ef640d4 100644
--- a/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java
+++ b/src/main/java/teetime/framework/exceptionHandling/IExceptionListenerFactory.java
@@ -2,6 +2,6 @@ package teetime.framework.exceptionHandling;
 
 public interface IExceptionListenerFactory {
 
-	public AbstractExceptionListener newHandlerInstance();
+	public AbstractExceptionListener create();
 
 }
diff --git a/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java
index 9d3423b2..c5ad9289 100644
--- a/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java
+++ b/src/main/java/teetime/framework/exceptionHandling/IgnoringExceptionListenerFactory.java
@@ -3,7 +3,7 @@ package teetime.framework.exceptionHandling;
 public class IgnoringExceptionListenerFactory implements IExceptionListenerFactory {
 
 	@Override
-	public AbstractExceptionListener newHandlerInstance() {
+	public AbstractExceptionListener create() {
 		return new IgnoringExceptionListener();
 	}
 
diff --git a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java
index 5bac663e..0e040225 100644
--- a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java
+++ b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java
@@ -3,7 +3,7 @@ package teetime.framework.exceptionHandling;
 public class LoggingExceptionListenerFactory implements IExceptionListenerFactory {
 
 	@Override
-	public AbstractExceptionListener newHandlerInstance() {
+	public AbstractExceptionListener create() {
 		return new LoggingExceptionListenerListener();
 	}
 
diff --git a/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java
index 49822c17..7086a890 100644
--- a/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java
+++ b/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListenerFactory.java
@@ -3,7 +3,7 @@ package teetime.framework.exceptionHandling;
 public class TerminatingExceptionListenerFactory implements IExceptionListenerFactory {
 
 	@Override
-	public AbstractExceptionListener newHandlerInstance() {
+	public AbstractExceptionListener create() {
 		return new TerminatingExceptionListener();
 	}
 
diff --git a/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java b/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java
index ae3785d9..01de8e6b 100644
--- a/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java
+++ b/src/test/java/teetime/framework/exceptionHandling/TestListenerFactory.java
@@ -3,7 +3,7 @@ package teetime.framework.exceptionHandling;
 public class TestListenerFactory implements IExceptionListenerFactory {
 
 	@Override
-	public AbstractExceptionListener newHandlerInstance() {
+	public AbstractExceptionListener create() {
 		return new TestListener();
 	}
 
-- 
GitLab