We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e9c794 commit 24c996fCopy full SHA for 24c996f
1 file changed
org.omg.sysml.plantuml/src/org/omg/sysml/plantuml/VBehavior.java
@@ -45,11 +45,11 @@
45
46
public abstract class VBehavior extends VDefault {
47
protected boolean isDoneAction(Feature f) {
48
- return "Actions::Action::done".equals(f.getQualifiedName());
+ return f != null && f.specializesFromLibrary("Actions::Action::done");
49
}
50
51
protected boolean isStartAction(Feature f) {
52
- return "Actions::Action::start".equals(f.getQualifiedName());
+ return f != null && f.specializesFromLibrary("Actions::Action::start");
53
54
55
protected boolean isEntryAction(ActionUsage au) {
0 commit comments