From 624bb0826352ed629a11b01e9e8d8ac8f3c66a55 Mon Sep 17 00:00:00 2001 From: Nelson Tavares de Sousa <stu103017@mail.uni-kiel.de> Date: Tue, 14 Oct 2014 13:34:31 +0200 Subject: [PATCH] removed dependency on OldAnalysis in MethodCallThroughputAnalysis1 --- .../experiment01/MethodCallThroughputAnalysis1.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/performancetest/java/teetime/examples/experiment01/MethodCallThroughputAnalysis1.java b/src/performancetest/java/teetime/examples/experiment01/MethodCallThroughputAnalysis1.java index c618f559..cde42bd7 100644 --- a/src/performancetest/java/teetime/examples/experiment01/MethodCallThroughputAnalysis1.java +++ b/src/performancetest/java/teetime/examples/experiment01/MethodCallThroughputAnalysis1.java @@ -17,7 +17,6 @@ package teetime.examples.experiment01; import java.util.List; -import teetime.framework.OldAnalysis; import teetime.util.ConstructorClosure; import teetime.util.TimestampObject; @@ -26,7 +25,7 @@ import teetime.util.TimestampObject; * * @since 1.10 */ -public class MethodCallThroughputAnalysis1 extends OldAnalysis { +public class MethodCallThroughputAnalysis1 { private long numInputObjects; private ConstructorClosure<TimestampObject> inputObjectCreator; @@ -34,9 +33,7 @@ public class MethodCallThroughputAnalysis1 extends OldAnalysis { private List<TimestampObject> timestampObjects; private Runnable runnable; - @Override public void init() { - super.init(); this.runnable = this.buildPipeline(); } @@ -77,9 +74,7 @@ public class MethodCallThroughputAnalysis1 extends OldAnalysis { return runnable; } - @Override public void start() { - super.start(); this.runnable.run(); } -- GitLab