ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r947340 - /ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java
Date Sat, 22 May 2010 22:05:31 GMT
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 {



Mime
View raw message