Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-11-02 17:34:14 +0000
committeratikhomirov2006-11-02 17:34:14 +0000
commitd3426e8b332b89623084e28a8836afb93c39f484 (patch)
treecb625ded1576391b313fd92588140e0198625c65
parent8c52e1fba8f885e81a3cf60b691cf5c479b6d5e7 (diff)
downloadorg.eclipse.gmf-tooling-d3426e8b332b89623084e28a8836afb93c39f484.tar.gz
org.eclipse.gmf-tooling-d3426e8b332b89623084e28a8836afb93c39f484.tar.xz
org.eclipse.gmf-tooling-d3426e8b332b89623084e28a8836afb93c39f484.zip
more aliases
-rw-r--r--plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/expression/TypeNameUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/expression/TypeNameUtil.java b/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/expression/TypeNameUtil.java
index ee1ff940c..3a0ecae11 100644
--- a/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/expression/TypeNameUtil.java
+++ b/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/expression/TypeNameUtil.java
@@ -62,13 +62,13 @@ public class TypeNameUtil {
}
public static String toCanonicalNameFromAlias(String potentialAlias) {
- if ("String".equals(potentialAlias)) {
+ if ("String".equals(potentialAlias) || "string".equals(potentialAlias)) {
return "EString";
}
if ("boolean".equals(potentialAlias) || "Boolean".equals(potentialAlias)) {
return "EBoolean";
}
- if ("Integer".equals(potentialAlias)) {
+ if ("Integer".equals(potentialAlias) || "int".equals(potentialAlias)) {
return "EInt";
}
if ("Object".equals(potentialAlias)) {

Back to the top