Sync git svn branch with SVN repository r33366.
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / MigrateModel.java
index 8e08d8ce6b2c593aa5b7d96c0bf4d13b89615c49..fe385a6a12b5028545c85af277fa8dbc3492e176 100644 (file)
@@ -20,6 +20,7 @@ import java.util.List;
 import java.util.Set;\r
 \r
 import org.simantics.databoard.Bindings;\r
+import org.simantics.databoard.util.URIStringUtils;\r
 import org.simantics.db.ReadGraph;\r
 import org.simantics.db.Resource;\r
 import org.simantics.db.Statement;\r
@@ -63,10 +64,10 @@ public class MigrateModel {
                        sourceURI = sourceURI.replace("http://Projects/Development%20Project/", "");\r
                        if(targetSymbol != null) {\r
                                String targetURI = graph.getURI(targetSymbol.getResource());\r
-                               return sourceURI + " into " + targetURI;\r
+                               return URIStringUtils.unescape(sourceURI) + " into " + URIStringUtils.unescape(targetURI);\r
                        } else {\r
                                String targetURI = graph.getURI(targetType.getResource());\r
-                               return sourceURI + " into " + targetURI;\r
+                               return URIStringUtils.unescape(sourceURI) + " into " + URIStringUtils.unescape(targetURI);\r
                        }\r
                }\r
                \r