Skip to content
Snippets Groups Projects
Commit a9f0a3ad authored by Sergey Zverlov's avatar Sergey Zverlov
Browse files

junit test error fix

parent 9b276f99
No related branches found
No related tags found
No related merge requests found
......@@ -352,7 +352,7 @@ public class EcoreUtils {
continue;
}
for(EClassifier eClassifier : ePackage.getEClassifiers()) {
if(eClassifier instanceof EClass &&
if(eClassifier instanceof EClass && eClassifier.getInstanceClass() != null &&
clazz.isAssignableFrom(eClassifier.getInstanceClass())) {
eClass = (EClass)eClassifier;
clazz2EClassCache.put(clazz, eClass);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment