[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Thu Dec 7 15:44:09 EST 2006
User: rsigal
Date: 06/12/07 15:44:09
Modified: src/main/org/jboss/remoting Client.java
Log:
JBREM-647: Initialize configuration to empty HashMap.
Revision Changes Path
1.60 +4 -3 JBossRemoting/src/main/org/jboss/remoting/Client.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Client.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/Client.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- Client.java 7 Dec 2006 02:58:42 -0000 1.59
+++ Client.java 7 Dec 2006 20:44:09 -0000 1.60
@@ -63,7 +63,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
- * @version $Revision: 1.59 $
+ * @version $Revision: 1.60 $
*/
public class Client implements Externalizable
{
@@ -161,7 +161,7 @@
private InvokerLocator locator;
private ConnectionValidator connectionValidator = null;
- private Map configuration = null;
+ private Map configuration = new HashMap();
private boolean enableLease = false;
private long leasePeriod = -1;
@@ -260,6 +260,7 @@
this.classloader = cl;
this.locator = locator;
this.subsystem = subsystem == null ? null : subsystem.toUpperCase();
+ if (configuration != null)
this.configuration = configuration;
this.sessionId = new GUID().toString();
}
More information about the jboss-cvs-commits
mailing list