We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55e34e2 commit 50b3ee6Copy full SHA for 50b3ee6
1 file changed
org.omg.sysml.plantuml/src/org/omg/sysml/plantuml/VBehavior.java
@@ -263,9 +263,13 @@ public String caseFeature(Feature f) {
263
return "";
264
}
265
};
266
- for (Feature f: s.getParameter()) {
267
- v.visit(f);
268
- }
+ List<Feature> ps = s.getParameter();
+
+ // We render the first parameter only because the second parameter of
269
+ // AcceptActionUsage is receiver, which should not be rendered.
270
+ if (ps.isEmpty()) return "";
271
+ v.visit(ps.get(0));
272
273
String str = v.getString();
274
if (str.isEmpty()) {
275
return getText(s);
0 commit comments