Skip to content

Commit

Permalink
Fixed a bug with ConceptMapping
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codespot.com/a/eclipselabs.org/json-discoverer/trunk@14 c8cc8c90-6326-4dad-56bf-2ea2b2d31442
  • Loading branch information
jlcanovas committed Mar 9, 2013
1 parent e88aa27 commit b14e2da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ public void compose(File resultPath) {
if(registryElement == null) {
EClass duplicatedEClass = duplicateEClass(eClass, coverageCreator);
registry.put(eClass.getName(), duplicatedEClass);
eClass = duplicatedEClass;
coverageCreator.createConceptMapping(eClass, duplicatedEClass);
eClass = duplicatedEClass;
} else {
composeAttributes(registryElement, eClass, coverageCreator);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ protected EObject instantiateEClassifier(EClassifier eClassifier, JsonObject jso
EClass compositeEClass = (EClass) findCompositeEClass(eClass, coverage);
EObject existingCompositeEObject = findExistingEObject(eClass, jsonObject, compositeEClass, coverage, metamodel);
if(existingCompositeEObject != null) {
System.out.println("found");
return existingCompositeEObject;
}

Expand Down

0 comments on commit b14e2da

Please sign in to comment.