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

add missing syn in navigation attributes

parent 518a4529
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ aspect Navigation {
inh PetriNet PnObject.petriNet();
eq PetriNet.getChild().petriNet() = this;
java.util.Collection<Place> Transition.incomingPlaces() {
syn java.util.Collection<Place> Transition.incomingPlaces() {
java.util.Set<Place> incomingPlaces = new java.util.HashSet<>();
for (Arc incomingArc : getInArcList()) {
incomingPlaces.add(incomingArc.getSource().asPlaceNode().place());
......@@ -10,7 +10,7 @@ aspect Navigation {
return incomingPlaces;
}
java.util.Collection<Place> Transition.outgoingPlaces() {
syn java.util.Collection<Place> Transition.outgoingPlaces() {
java.util.Set<Place> outgoingPlaces = new java.util.HashSet<>();
for (Arc outgoingArc : getOutArcList()) {
outgoingPlaces.add(outgoingArc.getTarget().asPlaceNode().place());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment