commit | aeb5c66f51325f64036538d4d4f5b5b220f2f8b7 | [log] [tgz] |
---|---|---|
author | Antonio Campesino <antonio.campesino.robles@ericsson.com> | Fri Oct 11 15:51:40 2019 +0200 |
committer | Antonio Campesino <antonio.campesino.robles@ericsson.com> | Fri Oct 11 15:51:40 2019 +0200 |
tree | f7a054610c28527ca55d3a20037fd7391f8c8723 | |
parent | 3d10cd3ab2d6c68b5ccee57c39155d7301473627 [diff] |
Bug 552039 - Models with blanks in the name are not open properly. Change-Id: I16cb171c818400b8217d65422aeee07d4afae80f
diff --git a/plugins/org.eclipse.gendoc.bundle.acceleo.papyrus/src/org/eclipse/gendoc/bundle/acceleo/papyrus/service/PapyrusContextService.java b/plugins/org.eclipse.gendoc.bundle.acceleo.papyrus/src/org/eclipse/gendoc/bundle/acceleo/papyrus/service/PapyrusContextService.java index 634cadd..13a1bc1 100644 --- a/plugins/org.eclipse.gendoc.bundle.acceleo.papyrus/src/org/eclipse/gendoc/bundle/acceleo/papyrus/service/PapyrusContextService.java +++ b/plugins/org.eclipse.gendoc.bundle.acceleo.papyrus/src/org/eclipse/gendoc/bundle/acceleo/papyrus/service/PapyrusContextService.java
@@ -52,7 +52,7 @@ GendocServices.getDefault().setService(IEMFModelLoaderService.class, emfService); } } - modelPath = URI.createURI(modelPath, true).toString(); + modelPath = URI.decode(URI.createURI(modelPath, true).toString()); super.setModel(modelPath); }