Skip to content

Commit d42a364

Browse files
committed
* Visitor (getNameAnyway): Show the "effective" shortName.
1 parent 6dda6a3 commit d42a364

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • org.omg.sysml.plantuml/src/org/omg/sysml/plantuml

org.omg.sysml.plantuml/src/org/omg/sysml/plantuml/Visitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ protected static String getName(Element e) {
398398

399399
protected String getNameAnyway(Element e, boolean creole, boolean isInherited) {
400400
String ret = null;
401-
String shortName = e.getDeclaredShortName();
401+
String shortName = e.getShortName();
402402
if (e.equals(fullyQualifiedElement)) {
403403
ret = e.getQualifiedName();
404404
}

0 commit comments

Comments
 (0)