summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Eysholdt2011-08-12 10:52:18 (EDT)
committerEd Merks2011-08-12 10:53:37 (EDT)
commit8917b8d514e728e54795c3ac5c06927c789e1ade (patch)
treeb8220d2c73b600ea2791f463c3e5bb5c0b660253
parent605d26d8e596464e532270facf647042026faa72 (diff)
downloadorg.eclipse.emf-8917b8d514e728e54795c3ac5c06927c789e1ade.zip
org.eclipse.emf-8917b8d514e728e54795c3ac5c06927c789e1ade.tar.gz
org.eclipse.emf-8917b8d514e728e54795c3ac5c06927c789e1ade.tar.bz2
made file compataible to java 5
-rw-r--r--org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/EcoreXcoreBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/EcoreXcoreBuilder.java b/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/EcoreXcoreBuilder.java
index e2577fb..c44a796 100644
--- a/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/EcoreXcoreBuilder.java
+++ b/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/EcoreXcoreBuilder.java
@@ -83,7 +83,7 @@ public class EcoreXcoreBuilder
nsPrefix = null;
}
String basePackage = genModel.findGenPackage(ePackage).getBasePackage();
- if (basePackage != null && !basePackage.isEmpty())
+ if (basePackage != null && basePackage.length() > 0)
{
name = basePackage + "." + name;
}