Skip to content

Commit

Permalink
#781 Memory:/ URI wasn't used
Browse files Browse the repository at this point in the history
Change-Id: Id1d5a331af3074a71ebc5bccf341df91a97ee2ff
Signed-off-by: Erwann Traisnel <[email protected]>
  • Loading branch information
etraisnel2 authored and pdulth committed Feb 29, 2024
1 parent 0d76b04 commit 54f0184
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ protected final Resource copyResource(final EObject anySourceModelElement){
URI copiedResourceURI = URI.createHierarchicalURI(URIQuery.INMEMORY_URI_SCHEME, resourceURI.authority(),
resourceURI.device(), resourceURI.segments(), resourceURI.query(), resourceURI.fragment());

final Resource resource = domain.createResource(anySourceModelElement.eResource().getURI().toString());
final Resource resource = domain.createResource(copiedResourceURI.toString());

this.domain.getResourceSet().getResources().add(resource);

Expand Down

0 comments on commit 54f0184

Please sign in to comment.