Permalink
Browse files

Changed accepts-methods in ElementRestrictionTransition (it doesn't need

an incidence)
  • Loading branch information...
1 parent 3f0a103 commit 68d8ee068ed495409bf17b7869d48099fd355beb Jon committed Apr 25, 2012
@@ -64,6 +64,10 @@ public boolean consumesIncidence() {
@Override
public boolean accepts(GraphElement<?, ?, ?, ?> e, Incidence i) {
+ return accepts(e);
+ }
+
+ public boolean accepts(GraphElement<?, ?, ?, ?> e) {
boolean typeAccepted = false;
for (TypedElementClass<?, ?> eClass : types.getAllowedTypes()) {

0 comments on commit 68d8ee0

Please sign in to comment.