Skip to content
Snippets Groups Projects
Commit c2cb00d0 authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Minor bugfix

parent 3e794656
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ import java.util.concurrent.TimeUnit; ...@@ -26,7 +26,6 @@ import java.util.concurrent.TimeUnit;
import kieker.common.record.misc.KiekerMetadataRecord; import kieker.common.record.misc.KiekerMetadataRecord;
import kieker.gui.common.domain.AggregatedExecution; import kieker.gui.common.domain.AggregatedExecution;
import kieker.gui.common.domain.Execution; import kieker.gui.common.domain.Execution;
import kieker.gui.common.domain.Record;
import kieker.gui.common.model.importer.ImportAnalysisConfiguration; import kieker.gui.common.model.importer.ImportAnalysisConfiguration;
import teetime.framework.Analysis; import teetime.framework.Analysis;
...@@ -37,7 +36,6 @@ import teetime.framework.Analysis; ...@@ -37,7 +36,6 @@ import teetime.framework.Analysis;
*/ */
public final class DataModel extends Observable { public final class DataModel extends Observable {
private List<Record> records = Collections.emptyList();
private List<Execution> traces = Collections.emptyList(); private List<Execution> traces = Collections.emptyList();
private List<Execution> failureContainingTraces = Collections.emptyList(); private List<Execution> failureContainingTraces = Collections.emptyList();
private List<Execution> failedTraces = Collections.emptyList(); private List<Execution> failedTraces = Collections.emptyList();
...@@ -57,7 +55,6 @@ public final class DataModel extends Observable { ...@@ -57,7 +55,6 @@ public final class DataModel extends Observable {
analysis.start(); analysis.start();
// Store the results from the analysis // Store the results from the analysis
this.records = analysisConfiguration.getRecordsList();
this.traces = analysisConfiguration.getTracesList(); this.traces = analysisConfiguration.getTracesList();
this.failedTraces = analysisConfiguration.getFailedTracesList(); this.failedTraces = analysisConfiguration.getFailedTracesList();
this.failureContainingTraces = analysisConfiguration.getFailureContainingTracesList(); this.failureContainingTraces = analysisConfiguration.getFailureContainingTracesList();
...@@ -110,10 +107,6 @@ public final class DataModel extends Observable { ...@@ -110,10 +107,6 @@ public final class DataModel extends Observable {
return result; return result;
} }
public List<Record> getRecordsCopy() {
return new ArrayList<>(this.records);
}
public List<Execution> getTracesCopy() { public List<Execution> getTracesCopy() {
return new ArrayList<>(this.traces); return new ArrayList<>(this.traces);
} }
......
...@@ -25,7 +25,6 @@ import kieker.common.record.flow.IFlowRecord; ...@@ -25,7 +25,6 @@ import kieker.common.record.flow.IFlowRecord;
import kieker.common.record.misc.KiekerMetadataRecord; import kieker.common.record.misc.KiekerMetadataRecord;
import kieker.gui.common.domain.AggregatedExecution; import kieker.gui.common.domain.AggregatedExecution;
import kieker.gui.common.domain.Execution; import kieker.gui.common.domain.Execution;
import kieker.gui.common.domain.Record;
import kieker.gui.common.model.importer.stages.ReadingComposite; import kieker.gui.common.model.importer.stages.ReadingComposite;
import kieker.gui.common.model.importer.stages.TraceAggregationComposite; import kieker.gui.common.model.importer.stages.TraceAggregationComposite;
import kieker.gui.common.model.importer.stages.TraceReconstructionComposite; import kieker.gui.common.model.importer.stages.TraceReconstructionComposite;
...@@ -43,8 +42,6 @@ import teetime.stage.MultipleInstanceOfFilter; ...@@ -43,8 +42,6 @@ import teetime.stage.MultipleInstanceOfFilter;
*/ */
public final class ImportAnalysisConfiguration extends AnalysisConfiguration { public final class ImportAnalysisConfiguration extends AnalysisConfiguration {
private final List<Record> records = new Vector<>(1000);
private final List<Execution> traces = new Vector<>(1000); private final List<Execution> traces = new Vector<>(1000);
private final List<Execution> failedTraces = new Vector<>(1000); private final List<Execution> failedTraces = new Vector<>(1000);
private final List<Execution> failureContainingTraces = new Vector<>(1000); private final List<Execution> failureContainingTraces = new Vector<>(1000);
...@@ -75,10 +72,6 @@ public final class ImportAnalysisConfiguration extends AnalysisConfiguration { ...@@ -75,10 +72,6 @@ public final class ImportAnalysisConfiguration extends AnalysisConfiguration {
super.addThreadableStage(reader); super.addThreadableStage(reader);
} }
public List<Record> getRecordsList() {
return this.records;
}
public List<Execution> getTracesList() { public List<Execution> getTracesList() {
return this.traces; return this.traces;
} }
......
...@@ -22,7 +22,6 @@ public class ImportAnalysisConfigurationTest { ...@@ -22,7 +22,6 @@ public class ImportAnalysisConfigurationTest {
analysis.start(); analysis.start();
assertThat(configuration.getMetadataRecords(), hasSize(1)); assertThat(configuration.getMetadataRecords(), hasSize(1));
assertThat(configuration.getRecordsList(), is(not(empty())));
assertThat(configuration.getTracesList(), is(not(empty()))); assertThat(configuration.getTracesList(), is(not(empty())));
assertThat(configuration.getAggregatedTraces(), is(not(empty()))); assertThat(configuration.getAggregatedTraces(), is(not(empty())));
assertThat(configuration.getFailedTracesList(), is(not(empty()))); assertThat(configuration.getFailedTracesList(), is(not(empty())));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment