You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by st...@apache.org on 2004/08/10 16:07:49 UTC

cvs commit: ws-axis/java/src/org/apache/axis/client Stub.java

stevel      2004/08/10 07:07:49

  Modified:    java/src/org/apache/axis/client Stub.java
  Log:
  point out that getAttachments() is fairly destructive w.r.t the payload.
  
  Revision  Changes    Path
  1.38      +3 -0      ws-axis/java/src/org/apache/axis/client/Stub.java
  
  Index: Stub.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/Stub.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- Stub.java	10 May 2004 08:26:57 -0000	1.37
  +++ Stub.java	10 Aug 2004 14:07:48 -0000	1.38
  @@ -368,6 +368,9 @@
   
       /**
        * Get the array of attachments
  +     * The attachment array is cleared after this, so it is a destructive operation.
  +     * @return the array of attachments that was in the message, or an empty array if
  +     * there were none
        */ 
       public Object[] getAttachments() {
           Object[] array = new Object[attachments.size()];