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 ri...@apache.org on 2001/11/16 13:32:16 UTC
cvs commit: xml-axis/java/src/org/apache/axis/attachments ManagedMemoryDataSource.java
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.