[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...

Ron Sigal ron_sigal at yahoo.com
Thu Dec 7 15:45:39 EST 2006


  User: rsigal  
  Date: 06/12/07 15:45:39

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_x Client.java
  Log:
  JBREM-647:  Initialize configuration to empty HashMap.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.53.2.8  +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.53.2.7
  retrieving revision 1.53.2.8
  diff -u -b -r1.53.2.7 -r1.53.2.8
  --- Client.java	7 Dec 2006 03:20:52 -0000	1.53.2.7
  +++ Client.java	7 Dec 2006 20:45:39 -0000	1.53.2.8
  @@ -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.53.2.7 $
  + * @version $Revision: 1.53.2.8 $
    */
   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