You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by er...@apache.org on 2003/06/27 06:59:20 UTC

cvs commit: xml-axis/java/src/org/apache/axis/deployment/wsdd WSDDDeployableItem.java

ericf       2003/06/26 21:59:20

  Modified:    java/src/org/apache/axis/deployment/wsdd
                        WSDDDeployableItem.java
  Log:
  fixed unitialized read of member variable in constructor.
  The constructor on this class contained a null check before
  initializing a member variable.  Since it's impossible for
  that field to have been initialized at this point, the null
  check is superfluous and has been removed.
  
  Revision  Changes    Path
  1.51      +1 -2      xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployableItem.java
  
  Index: WSDDDeployableItem.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployableItem.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- WSDDDeployableItem.java	22 Apr 2003 19:34:15 -0000	1.50
  +++ WSDDDeployableItem.java	27 Jun 2003 04:59:20 -0000	1.51
  @@ -149,8 +149,7 @@
               }
           }
   
  -        if (parameters == null)
  -            parameters = new LockableHashtable();
  +        parameters = new LockableHashtable();
           
           // Load up our params
           Element [] paramElements = getChildElements(e, ELEM_WSDD_PARAM);