From f1fa93551b048516e363facf75bb1585a98dd7ba Mon Sep 17 00:00:00 2001 From: Nelson Tavares de Sousa <stu103017@mail.uni-kiel.de> Date: Mon, 15 Jun 2015 13:17:08 +0200 Subject: [PATCH] removed comments --- src/main/java/teetime/framework/Analysis.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/teetime/framework/Analysis.java b/src/main/java/teetime/framework/Analysis.java index fbdea4ac..9beeb874 100644 --- a/src/main/java/teetime/framework/Analysis.java +++ b/src/main/java/teetime/framework/Analysis.java @@ -202,14 +202,13 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught public void colorAndConnectStages(final Integer i, final Map<Stage, Integer> colors, final Stage threadableStage) { Set<Stage> threadableStageJobs = configuration.getThreadableStageJobs(); for (Connection connection : configuration.getConnections()) { - // Die Connection gehört zu der Stage if (connection.getSourcePort().getOwningStage() == threadableStage) { Stage targetStage = connection.getTargetPort().getOwningStage(); Integer targetColor = new Integer(0); if (colors.containsKey(targetStage)) { targetColor = colors.get(targetStage); } - if (threadableStageJobs.contains(targetStage) && targetColor.compareTo(i) != 0) { // Auch auf Farbe prüfen + if (threadableStageJobs.contains(targetStage) && targetColor.compareTo(i) != 0) { if (connection.getCapacity() != 0) { interBoundedThreadPipeFactory.create(connection.getSourcePort(), connection.getTargetPort(), connection.getCapacity()); } else { -- GitLab