Skip to content
Snippets Groups Projects
Commit 2f872123 authored by Johannes Mey's avatar Johannes Mey
Browse files

remove debug output in SM, make backlink non-optional in SM

parent 952dbf63
No related branches found
No related tags found
No related merge requests found
aspect SMtoDG {
syn DependencyGraph StateMachine.dependencyGraph() {
DependencyGraph dg = new DependencyGraph();
dg.setStateMachine(this);
Map<State,Component> componentMap = new HashMap<>();
......@@ -15,13 +14,8 @@ aspect SMtoDG {
for (Transition t: transitions()) {
Component to = componentMap.get(t.getTo());
Component from = componentMap.get(t.getFrom());
//if (!from.getToList().contains(to)) {
logger.info("adding {} -> {}", from, to);
from.addTo(to);
//}
}
return dg;
}
......
rel DependencyGraph.StateMachine -> StateMachine;
rel Component.State -> State;
rel DependencyGraph.StateMachine? -> StateMachine;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment