Skip to content
Snippets Groups Projects
Commit 00bf9116 authored by dgelessus's avatar dgelessus
Browse files

Adjust for new behavior of OutputCollector.getTrace()

parent 1e8e660f
Branches
Tags
No related merge requests found
...@@ -180,7 +180,7 @@ public class TLCResults implements ToolGlobals { ...@@ -180,7 +180,7 @@ public class TLCResults implements ToolGlobals {
private void evalTrace() { private void evalTrace() {
List<TLCStateInfo> trace = OutputCollector.getTrace(); List<TLCStateInfo> trace = OutputCollector.getTrace();
TracePrinter printer = null; TracePrinter printer = null;
if (trace != null) { if (!trace.isEmpty()) {
printer = new TracePrinter(trace, tlcOutputInfo); printer = new TracePrinter(trace, tlcOutputInfo);
} else if (OutputCollector.getInitialState() != null) { } else if (OutputCollector.getInitialState() != null) {
printer = new TracePrinter(OutputCollector.getInitialState(), tlcOutputInfo); printer = new TracePrinter(OutputCollector.getInitialState(), tlcOutputInfo);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment