From 82acdaf723b1c95c92296a9d3598d8b41dc6ff5b Mon Sep 17 00:00:00 2001
From: Nelson Tavares de Sousa <stu103017@mail.uni-kiel.de>
Date: Fri, 12 Jun 2015 16:09:08 +0200
Subject: [PATCH] recursive call was misplaced

---
 src/main/java/teetime/framework/Analysis.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/teetime/framework/Analysis.java b/src/main/java/teetime/framework/Analysis.java
index 0e357a42..17a7e94a 100644
--- a/src/main/java/teetime/framework/Analysis.java
+++ b/src/main/java/teetime/framework/Analysis.java
@@ -238,10 +238,10 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught
 					}
 					intraThreadPipeFactory.create(connection.getSourcePort(), connection.getTargetPort());
 					colors.put(targetStage, i);
+					colorAndConnectStages(i, colors, targetStage);
 				}
 				connected++;
 				// configuration.getConnections().remove(connection); remove connection to increase performance
-				colorAndConnectStages(i, colors, targetStage);
 			}
 		}
 	}
-- 
GitLab