From f7d47f6b71d196023c293c7afb75aef91ebdc878 Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Mon, 24 May 2010 16:01:06 +0000 Subject: [PATCH] Continued spelling fix from 947340. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@947689 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/util/ResourceUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/util/ResourceUtils.java b/src/main/org/apache/tools/ant/util/ResourceUtils.java index 95a8938b4..cdeab1b8b 100644 --- a/src/main/org/apache/tools/ant/util/ResourceUtils.java +++ b/src/main/org/apache/tools/ant/util/ResourceUtils.java @@ -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);