You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jk...@apache.org on 2010/05/23 00:05:31 UTC

svn commit: r947340 - /ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java

Author: jkf
Date: Sat May 22 22:05:31 2010
New Revision: 947340

URL: http://svn.apache.org/viewvc?rev=947340&view=rev
Log:
fix spelling error in var name

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java?rev=947340&r1=947339&r2=947340&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java Sat May 22 22:05:31 2010
@@ -528,9 +528,9 @@ public class ResourceUtils {
                 long position = 0;
                 long count = srcChannel.size();
                 while (position < count) {
-                    long chunck = Math.min(MAX_IO_CHUNCK_SIZE, count - position);
+                    long chunk = Math.min(MAX_IO_CHUNCK_SIZE, count - position);
                     position +=
-                        srcChannel.transferTo(position, chunck,
+                        srcChannel.transferTo(position, chunk,
                                               destChannel);
                 }
             } finally {