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
Branches
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ aspect Navigation { ...@@ -2,7 +2,7 @@ aspect Navigation {
inh PetriNet PnObject.petriNet(); inh PetriNet PnObject.petriNet();
eq PetriNet.getChild().petriNet() = this; 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<>(); java.util.Set<Place> incomingPlaces = new java.util.HashSet<>();
for (Arc incomingArc : getInArcList()) { for (Arc incomingArc : getInArcList()) {
incomingPlaces.add(incomingArc.getSource().asPlaceNode().place()); incomingPlaces.add(incomingArc.getSource().asPlaceNode().place());
...@@ -10,7 +10,7 @@ aspect Navigation { ...@@ -10,7 +10,7 @@ aspect Navigation {
return incomingPlaces; return incomingPlaces;
} }
java.util.Collection<Place> Transition.outgoingPlaces() { syn java.util.Collection<Place> Transition.outgoingPlaces() {
java.util.Set<Place> outgoingPlaces = new java.util.HashSet<>(); java.util.Set<Place> outgoingPlaces = new java.util.HashSet<>();
for (Arc outgoingArc : getOutArcList()) { for (Arc outgoingArc : getOutArcList()) {
outgoingPlaces.add(outgoingArc.getTarget().asPlaceNode().place()); 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