Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwagelaar2014-01-03 15:01:21 +0000
committerdwagelaar2014-01-03 15:01:21 +0000
commit4f3aacf56c15fa408e51f3c9ceffa6e7bf89f8cf (patch)
treebe6c4e97e0bc2eb5495c1ffea50523cf3c523cc7 /plugins/org.eclipse.m2m.atl.emftvm
parent4bf63846b03e4fa38bc5f0eb1dc3ec15bdcaa660 (diff)
downloadorg.eclipse.atl-4f3aacf56c15fa408e51f3c9ceffa6e7bf89f8cf.tar.gz
org.eclipse.atl-4f3aacf56c15fa408e51f3c9ceffa6e7bf89f8cf.tar.xz
org.eclipse.atl-4f3aacf56c15fa408e51f3c9ceffa6e7bf89f8cf.zip
Improve warning message for ambiguous types in a Metamodel.
Diffstat (limited to 'plugins/org.eclipse.m2m.atl.emftvm')
-rw-r--r--plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/MetamodelImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/MetamodelImpl.java b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/MetamodelImpl.java
index e2a86b7e..680e44c9 100644
--- a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/MetamodelImpl.java
+++ b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/MetamodelImpl.java
@@ -89,7 +89,7 @@ public class MetamodelImpl extends ModelImpl implements Metamodel {
throw new IllegalArgumentException(String.format("Type %s not found in metamodel %s", typeName, this));
}
if (ambiguousTypes.contains(typeName)) {
- ATLLogger.warning(String.format("Metamodel contains more than one type with name %s", typeName));
+ ATLLogger.warning(String.format("Metamodel %s contains more than one type with name %s", this, typeName));
}
return type;
}

Back to the top