axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/message MessageElement.java SOAPEnvelope.java
Date Wed, 23 Jun 2004 04:14:31 GMT
gawor       2004/06/22 21:14:31

  Modified:    java/src/org/apache/axis/message MessageElement.java
                        SOAPEnvelope.java
  Log:
  bug fix for axis-1327
  
  Revision  Changes    Path
  1.172     +3 -1      ws-axis/java/src/org/apache/axis/message/MessageElement.java
  
  Index: MessageElement.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/MessageElement.java,v
  retrieving revision 1.171
  retrieving revision 1.172
  diff -u -r1.171 -r1.172
  --- MessageElement.java	22 Jun 2004 23:51:32 -0000	1.171
  +++ MessageElement.java	23 Jun 2004 04:14:31 -0000	1.172
  @@ -801,7 +801,9 @@
               children.remove(i);
               removed = true;
           }
  -        setDirty(removed);
  +        if (removed) {
  +            setDirty(removed);
  +        }
       }
   
       public List getChildren()
  
  
  
  1.95      +6 -0      ws-axis/java/src/org/apache/axis/message/SOAPEnvelope.java
  
  Index: SOAPEnvelope.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/SOAPEnvelope.java,v
  retrieving revision 1.94
  retrieving revision 1.95
  diff -u -r1.94 -r1.95
  --- SOAPEnvelope.java	25 Feb 2004 14:02:43 -0000	1.94
  +++ SOAPEnvelope.java	23 Jun 2004 04:14:31 -0000	1.95
  @@ -247,6 +247,9 @@
        * Remove all headers
        */ 
       public void removeHeaders() {
  +        if (header != null) {
  +            removeChild(header);
  +        }
           header = null;
       }
   
  @@ -280,6 +283,9 @@
        * Remove the SOAP Body
        */ 
       public void removeBody() {
  +        if (body != null) {
  +            removeChild(body);
  +        }
           body = null;
       }
   
  
  
  

Mime
View raw message