Author: keith
Date: Mon Apr 28 02:42:03 2008
New Revision: 16250

Log:

Making this use a constant defined in MashupConstants


Modified:
   
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java

Modified: 
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java
==============================================================================
--- 
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java
      (original)
+++ 
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java
      Mon Apr 28 02:42:03 2008
@@ -492,7 +492,7 @@
     protected void zipDir(File zipDir, ZipOutputStream zos) throws IOException 
{
         //get a listing of the directory content
         String[] dirList = zipDir.list();
-        byte[] readBuffer = new byte[40960];
+        byte[] readBuffer = new byte[MashupConstants.BUFFER_SIZE];
         int bytesIn;
         //loop through dirList, and zip the files
         for (int i = 0; i < dirList.length; i++) {

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to