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

renamed method

parent ac675b9c
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
......@@ -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;
......
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