From 4b732714e51e74ae69b736d0b8e3797ea1b7d600 Mon Sep 17 00:00:00 2001 From: Stefan Derkits Date: Mon, 10 Jun 2013 18:40:32 +0200 Subject: [PATCH] removed some commented code --- src/at/ac/tuwien/lsdc/SchedSimulator.java | 1 - src/at/ac/tuwien/lsdc/sched/AbstractScheduler.java | 6 ------ src/at/ac/tuwien/lsdc/util/CSVLogger.java | 1 - 3 files changed, 8 deletions(-) diff --git a/src/at/ac/tuwien/lsdc/SchedSimulator.java b/src/at/ac/tuwien/lsdc/SchedSimulator.java index e8889f1..2e92150 100644 --- a/src/at/ac/tuwien/lsdc/SchedSimulator.java +++ b/src/at/ac/tuwien/lsdc/SchedSimulator.java @@ -69,7 +69,6 @@ public class SchedSimulator { ScenarioData data = scheduler.initAndStart(apps); CSVLogger logger = new CSVLogger(generalLog); logger.logScenarioData(data); - //logger.close(); } /** diff --git a/src/at/ac/tuwien/lsdc/sched/AbstractScheduler.java b/src/at/ac/tuwien/lsdc/sched/AbstractScheduler.java index e14b5fc..7e3984e 100644 --- a/src/at/ac/tuwien/lsdc/sched/AbstractScheduler.java +++ b/src/at/ac/tuwien/lsdc/sched/AbstractScheduler.java @@ -89,12 +89,6 @@ public abstract class AbstractScheduler { endTime = apps.getLast().getTimestamp() + 1; startScheduling(); - /*try { - logger.close(); - } catch (IOException e) { - log.error("couldn't close logger"); - }*/ - // TODO make end logging work return doEndLogging(); } diff --git a/src/at/ac/tuwien/lsdc/util/CSVLogger.java b/src/at/ac/tuwien/lsdc/util/CSVLogger.java index 5497dbb..54604f4 100644 --- a/src/at/ac/tuwien/lsdc/util/CSVLogger.java +++ b/src/at/ac/tuwien/lsdc/util/CSVLogger.java @@ -8,7 +8,6 @@ import java.io.PrintWriter; import at.ac.tuwien.lsdc.types.ScenarioData; import at.ac.tuwien.lsdc.types.SchedulerData; -import au.com.bytecode.opencsv.CSVWriter; public class CSVLogger { -- 2.43.0