Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/CppGenUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/CppGenUtils.java b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/CppGenUtils.java
index 36043a363ad..226f79ad34b 100644
--- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/CppGenUtils.java
+++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/CppGenUtils.java
@@ -168,7 +168,7 @@ public class CppGenUtils {
for (Namespace ns : ne.allNamespaces()) {
// don't add qualified name for specific top-level namespace "root".
// TODO: specific workaround for the way Qompass creates its target model. Needs to be removed.
- if (!((ns.getOwner() == null) && ns.getName().equals("root"))) { //$NON-NLS-1$
+ if (ns.getOwner() != null) { //$NON-NLS-1$
qName = ns.getName() + "::" + qName; //$NON-NLS-1$
}
}

Back to the top