axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rineh...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/attachments ManagedMemoryDataSource.java
Date Fri, 16 Nov 2001 12:32:16 GMT
rineholt    01/11/16 04:32:16

  Modified:    java/src/org/apache/axis/attachments
                        ManagedMemoryDataSource.java
  Log:
  Fix bug to allow attachments to be empty files.
  
  Revision  Changes    Path
  1.3       +0 -2      xml-axis/java/src/org/apache/axis/attachments/ManagedMemoryDataSource.java
  
  Index: ManagedMemoryDataSource.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/attachments/ManagedMemoryDataSource.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ManagedMemoryDataSource.java	2001/11/16 02:57:53	1.2
  +++ ManagedMemoryDataSource.java	2001/11/16 12:32:15	1.3
  @@ -263,8 +263,6 @@
                       System.arraycopy(currentMemoryBuf, 0, tmp, 0,
                          currentMemoryBufSz);
                       memorybuflist.set( memorybuflist.size() - 1, tmp);  //Now replace the
last buffer with this size.
  -                 }else{
  -                    memorybuflist.remove( memorybuflist.size() - 1);  //Now replace the
last buffer with this size.
                    }
   
                   currentMemoryBuf = null; //No need for this anymore.
  
  
  

Mime
View raw message