Date: 2005-03-02T12:50:28
Editor: DakotaJack
Wiki: Apache Struts Wiki
Page: StrutsUpload
URL: http://wiki.apache.org/struts/StrutsUpload
no comment
Change Log:
------------------------------------------------------------------------------
@@ -141,12 +141,12 @@
if(is != null) {
int i = (int)getSize();
if(i > 0) {
- byte data0[] = new byte[i];
+ byte streamData[] = new byte[i];
try {
- is.read(data0);
+ is.read(streamData);
is.close();
} catch(IOException ioe) { }
- return data0;
+ return streamData;
} else {
return null;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]