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