From d5039ba569fa43fdf5f3fbb4dbcd571ced89063d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <stu114708@informatik.uni-kiel.de> Date: Mon, 4 Apr 2016 09:27:56 +0200 Subject: [PATCH] organize writers hierarchy --- .../kieker/analysis/graph/export/AbstractTransformer.java | 4 ++++ .../java/kieker/analysis/graph/export/AbstractWriter.java | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/kieker/analysis/graph/export/AbstractTransformer.java b/src/main/java/kieker/analysis/graph/export/AbstractTransformer.java index 41983a63..acb567fb 100644 --- a/src/main/java/kieker/analysis/graph/export/AbstractTransformer.java +++ b/src/main/java/kieker/analysis/graph/export/AbstractTransformer.java @@ -20,8 +20,12 @@ public abstract class AbstractTransformer<O> implements VertexVisitor, EdgeVisit public final O transform() { + // Call startTransformation() + graphTraverser.traverse(graph); + // Call finishTransformation() + return getTransformation(); } diff --git a/src/main/java/kieker/analysis/graph/export/AbstractWriter.java b/src/main/java/kieker/analysis/graph/export/AbstractWriter.java index 789e53c0..05a16a63 100644 --- a/src/main/java/kieker/analysis/graph/export/AbstractWriter.java +++ b/src/main/java/kieker/analysis/graph/export/AbstractWriter.java @@ -8,7 +8,6 @@ public abstract class AbstractWriter extends AbstractTransformer<Void> { protected AbstractWriter(final Graph graph) { super(graph); - start(); } @Override -- GitLab