Skip to content
Snippets Groups Projects
Commit 4232958c authored by dgelessus's avatar dgelessus
Browse files

Replace use of deprecated getNextTransitions overload

parent acaabec6
Branches
Tags
No related merge requests found
Pipeline #108226 passed
......@@ -75,7 +75,8 @@ public final class BrowseCommand implements Command {
sb.append("\nVariables: ");
sb.append(listToString(lm.getVariableNames()));
sb.append("\nOperations: ");
final List<Transition> sortedTransitions = new ArrayList<>(trace.getNextTransitions(true, FormulaExpand.TRUNCATE));
final List<Transition> sortedTransitions = new ArrayList<>(trace.getNextTransitions());
trace.getStateSpace().evaluateTransitions(sortedTransitions, FormulaExpand.EXPAND);
// Sort transitions by ID to get a consistent ordering.
// Transition IDs are strings, but they almost always contain numbers.
sortedTransitions.sort(Comparator.comparing(Transition::getId, new AlphanumericComparator()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment