Author: richard.opalka(a)jboss.com
Date: 2007-12-14 07:09:11 -0500 (Fri, 14 Dec 2007)
New Revision: 5313
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java
Log:
remove useless code
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java 2007-12-14
12:07:04 UTC (rev 5312)
+++
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java 2007-12-14
12:09:11 UTC (rev 5313)
@@ -24,9 +24,7 @@
import static org.jboss.ws.extensions.wsrm.RMConstant.*;
import java.io.IOException;
-import java.net.MalformedURLException;
import java.net.URI;
-import java.net.URL;
import java.util.Map;
import java.util.concurrent.Callable;
@@ -56,13 +54,6 @@
this.rmRequest = rmRequest;
}
- private String addURLParameter(String urlStr, String key, String value) throws
MalformedURLException
- {
- URL url = new URL(urlStr);
- urlStr += (url.getQuery() == null ? "?" : "&") + key +
"=" + value;
- return urlStr;
- }
-
public RMChannelResponse call()
{
try
@@ -72,7 +63,6 @@
if (version.startsWith("1.4"))
{
- targetAddress = addURLParameter(targetAddress, InvokerLocator.DATATYPE,
"JBossWSMessage");
MarshalFactory.addMarshaller("JBossWSMessage",
RMMarshaller.getInstance(), RMUnMarshaller.getInstance());
}
@@ -82,7 +72,6 @@
logger.debug("[WS-RM] backport URI is: " + backPort);
RMCallbackHandler callbackHandler = null;
- // TODO: we should remember WSA:MessageId here too
if (backPort != null)
{
Show replies by date