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