From 899853cfcebeb079fe31962f4814f7e0a054edad Mon Sep 17 00:00:00 2001
From: Nelson Tavares de Sousa <stu103017@mail.uni-kiel.de>
Date: Tue, 25 Aug 2015 12:11:51 +0200
Subject: [PATCH] renamed method

---
 src/main/java/teetime/framework/A4StageAttributeSetter.java     | 2 +-
 .../exceptionHandling/AbstractExceptionListenerFactory.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/teetime/framework/A4StageAttributeSetter.java b/src/main/java/teetime/framework/A4StageAttributeSetter.java
index 5d95bec9..98373e41 100644
--- a/src/main/java/teetime/framework/A4StageAttributeSetter.java
+++ b/src/main/java/teetime/framework/A4StageAttributeSetter.java
@@ -46,7 +46,7 @@ class A4StageAttributeSetter {
 	}
 
 	private void setAttributes(final Stage threadableStage, final Set<Stage> intraStages) {
-		threadableStage.setExceptionHandler(configuration.getFactory().getInstance(threadableStage.getOwningThread()));
+		threadableStage.setExceptionHandler(configuration.getFactory().createInstance(threadableStage.getOwningThread()));
 		// threadableStage.setOwningThread(owningThread);
 		threadableStage.setOwningContext(configuration.getContext());
 
diff --git a/src/main/java/teetime/framework/exceptionHandling/AbstractExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/AbstractExceptionListenerFactory.java
index 91847890..a61f8d9f 100644
--- a/src/main/java/teetime/framework/exceptionHandling/AbstractExceptionListenerFactory.java
+++ b/src/main/java/teetime/framework/exceptionHandling/AbstractExceptionListenerFactory.java
@@ -25,7 +25,7 @@ public abstract class AbstractExceptionListenerFactory<T extends AbstractExcepti
 
 	protected abstract T createInstance();
 
-	public T getInstance(final Thread thread) {
+	public T createInstance(final Thread thread) {
 		T instance = createInstance();
 		threadExceptionsMap.put(thread, instance.getLoggedExceptions());
 		return instance;
-- 
GitLab