Author: ron.sigal(a)jboss.com
Date: 2009-03-20 22:27:46 -0400 (Fri, 20 Mar 2009)
New Revision: 4887
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java
Log:
JBREM-1110: getParameters() returns an empty map if there are no parameters.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java 2009-03-21
01:49:19 UTC (rev 4886)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/InvokerLocator.java 2009-03-21
02:27:46 UTC (rev 4887)
@@ -535,6 +535,10 @@
public Map getParameters()
{
+ if (parameters == null)
+ {
+ parameters = new TreeMap();
+ }
return parameters;
}
Show replies by date