Author: [email protected]
Date: Mon May 11 17:09:38 2009
New Revision: 5345

Modified:
    trunk/dev/core/src/com/google/gwt/dev/util/Util.java

Log:
Bump buffer size on Util.copy().

Review by: spoon

Modified: trunk/dev/core/src/com/google/gwt/dev/util/Util.java
==============================================================================
--- trunk/dev/core/src/com/google/gwt/dev/util/Util.java        (original)
+++ trunk/dev/core/src/com/google/gwt/dev/util/Util.java        Mon May 11  
17:09:38 2009
@@ -165,7 +165,7 @@

    public static void copy(InputStream is, OutputStream os) throws  
IOException {
      try {
-      byte[] buf = new byte[8 * 1024];
+      byte[] buf = new byte[32 * 1024];
        int i;
        while ((i = is.read(buf)) != -1) {
          os.write(buf, 0, i);

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to