summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/node-impl-osgi/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-05-12 07:32:08 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-05-12 07:32:08 +0000
commit88652b8e3fd85985c9dfa00db83b0eb600e3063b (patch)
tree23dc481f83dccbbc0b057cb2d4a06ec2d01cce4d /java/sca/modules/node-impl-osgi/src
parent642dc8802e374c205ec5b977b2797ffbb5b08edf (diff)
TUSCANY-3015: Fix URI creation to escape spaces in the name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@773811 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-impl-osgi/src')
-rw-r--r--java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java b/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java
index ac1141128c..1ce13f0aaa 100644
--- a/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java
+++ b/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java
@@ -354,7 +354,7 @@ public class NodeFactoryImpl {
// Load the specified contributions
for (Contribution c : configuration.getContributions()) {
- URI contributionURI = URI.create(c.getURI());
+ URI contributionURI = NodeUtil.createURI(c.getURI());
URI uri = createURI(c.getLocation());
if (uri.getScheme() == null) {