diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-29 14:52:53 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-29 14:52:53 +0000 |
commit | 485a4e3856c88ad4d74ad96c7fb5f8393d080219 (patch) | |
tree | c0904bdf4c79ef945b75fbf9d0b21327ad435ccd /sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca | |
parent | 68acc831d118fe028b2df0c93c040c0e60ea30b9 (diff) |
Update to use prefix uri: instead of tuscany: to match the other places that handle domain uri's
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1086612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca')
-rw-r--r-- | sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java index cfd034002d..3af08030f2 100644 --- a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java +++ b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java @@ -89,12 +89,12 @@ public class WebAppHelper { String domainName; if (configURI.startsWith("tuscany:vm:")) { domainName = configURI.substring("tuscany:vm:".length()); - } else if (configURI.startsWith("tuscany:")) { + } else if (configURI.startsWith("uri:")) { int i = configURI.indexOf('?'); if (i == -1) { - domainName = configURI.substring("tuscany:".length()); + domainName = configURI.substring("uri:".length()); } else { - domainName = configURI.substring("tuscany:".length(), i); + domainName = configURI.substring("uri:".length(), i); } } else { domainName = configURI; |