We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42a364 commit 6ffa6fbCopy full SHA for 6ffa6fb
1 file changed
org.omg.sysml.plantuml/src/org/omg/sysml/plantuml/Visitor.java
@@ -468,12 +468,12 @@ protected static String getFeatureChainName(Feature f) {
468
private static String getNameWithNamespace(Feature f) {
469
String name = getFeatureName(f);
470
if (name == null) return null;
471
+
472
org.omg.sysml.lang.sysml.Namespace pkg = f.getOwningNamespace();
- if (pkg == null) {
473
- return name;
474
- } else {
475
- return pkg.getDeclaredName() + "::" + name;
476
- }
+ if (pkg == null) return name;
+ String pkgName = pkg.getDeclaredName();
+ if (pkgName == null) return name;
+ return pkgName + "::" + name;
477
}
478
479
0 commit comments