From c9f87e71681428c3fb4bdceb431e347afef9276a Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Wed, 16 Nov 2005 23:00:49 +0000 Subject: [PATCH] restore credit for the xerces-j team, sorry ... git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@345144 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/util/FileUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/org/apache/tools/ant/util/FileUtils.java b/src/main/org/apache/tools/ant/util/FileUtils.java index 835d8542f..bef60cf36 100644 --- a/src/main/org/apache/tools/ant/util/FileUtils.java +++ b/src/main/org/apache/tools/ant/util/FileUtils.java @@ -68,6 +68,8 @@ public class FileUtils { static final int BUF_SIZE = 8192; + // stolen from org.apache.xerces.impl.XMLEntityManager#getUserDir() + // of the Xerces-J team // which ASCII characters need to be escaped private static boolean gNeedEscaping[] = new boolean[128]; // the first hex character if a character needs to be escaped