Author: jglick Date: Mon May 24 16:01:06 2010 New Revision: 947689 URL: http://svn.apache.org/viewvc?rev=947689&view=rev Log: Continued spelling fix from 947340.
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=947689&r1=947688&r2=947689&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 Mon May 24 16:01:06 2010 @@ -72,7 +72,7 @@ public class ResourceUtils { */ public static final String ISO_8859_1 = "ISO-8859-1"; - private static final long MAX_IO_CHUNCK_SIZE = 16*1024*1024; // 16 MB + private static final long MAX_IO_CHUNK_SIZE = 16*1024*1024; // 16 MB /** * Tells which source files should be reprocessed based on the @@ -528,7 +528,7 @@ public class ResourceUtils { long position = 0; long count = srcChannel.size(); while (position < count) { - long chunk = Math.min(MAX_IO_CHUNCK_SIZE, count - position); + long chunk = Math.min(MAX_IO_CHUNK_SIZE, count - position); position += srcChannel.transferTo(position, chunk, destChannel);