struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@struts.apache.org
Subject [Apache Struts Wiki] Updated: StrutsUpload
Date Wed, 02 Mar 2005 20:50:28 GMT
   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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message