Author: ron.sigal(a)jboss.com
Date: 2010-05-11 22:55:31 -0400 (Tue, 11 May 2010)
New Revision: 5866
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java
Log:
JBREM-1225: Avoids extraneous '=' when reconstructing InvokerLocator.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java 2010-05-11
13:20:24 UTC (rev 5865)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java 2010-05-12
02:55:31 UTC (rev 5866)
@@ -300,7 +300,14 @@
{
String key = (String) iter.next();
String val = (String) parameters.get(key);
- uri += key + "=" + val;
+ if ("".equals(val))
+ {
+ uri += key;
+ }
+ else
+ {
+ uri += key + "=" + val;
+ }
if(iter.hasNext())
{
uri += "&";
Show replies by date