summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-03-29 05:29:18 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-03-29 05:29:18 +0000
commit3f309fc3c335346e601458b65949f5efcba467c2 (patch)
tree530fad2bd90b0b1e266d21d786f8ed85d78c378e /sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main
parent849c282ca8ad942a06512b8c5dcd0c87bcd6ff33 (diff)
Reverting changes from revisions 918221, 918222 and 918223
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@928593 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/js/dojo/JSONRPCBindingJavascriptProxyFactoryImpl.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/js/dojo/JSONRPCBindingJavascriptProxyFactoryImpl.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/js/dojo/JSONRPCBindingJavascriptProxyFactoryImpl.java
index 5c20fb3c4f..0388c8bd77 100644
--- a/sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/js/dojo/JSONRPCBindingJavascriptProxyFactoryImpl.java
+++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-js-dojo/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/js/dojo/JSONRPCBindingJavascriptProxyFactoryImpl.java
@@ -70,9 +70,6 @@ public class JSONRPCBindingJavascriptProxyFactoryImpl implements JavascriptProxy
URI targetURI = URI.create(binding.getURI());
String targetPath = targetURI.getPath();
- if (targetPath.startsWith("/")) {
- targetPath = targetPath.substring(1);
- }
return "dojo.rpc.JsonService(\"" + targetPath + "?smd\")";
}