Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 98800 invoked by uid 500); 21 Aug 2003 18:43:01 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 98739 invoked by uid 500); 21 Aug 2003 18:42:59 -0000 Received: (qmail 98715 invoked from network); 21 Aug 2003 18:42:59 -0000 Received: from minotaur.apache.org (209.237.227.194) by daedalus.apache.org with SMTP; 21 Aug 2003 18:42:59 -0000 Received: (qmail 16212 invoked by uid 1652); 21 Aug 2003 16:56:12 -0000 Date: 21 Aug 2003 16:56:12 -0000 Message-ID: <20030821165612.16211.qmail@minotaur.apache.org> From: antoine@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant DirectoryScanner.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N antoine 2003/08/21 09:56:12 Modified: src/main/org/apache/tools/ant DirectoryScanner.java Log: Optimize scanning in FTP.FTPDirectoryScanner, using similar algorithms to the ones introduced in DirectoryScanner. There is a gain when - the include patterns look like some/very/long/path - the remote file system is case sensitive - the casesensitive and followsymlinks options of the fileset are set to true (the default) PR: 20103 Revision Changes Path 1.63 +11 -1 ant/src/main/org/apache/tools/ant/DirectoryScanner.java Index: DirectoryScanner.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DirectoryScanner.java,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- DirectoryScanner.java 5 Aug 2003 22:23:57 -0000 1.62 +++ DirectoryScanner.java 21 Aug 2003 16:56:12 -0000 1.63 @@ -504,7 +504,17 @@ } /** - * Sets whether or not the file system should be regarded as case sensitive. + * Find out whether include exclude patterns are matched in a + * case sensitive way + * @return whether or not the scanning is case sensitive + * @since ant 1.6 + */ + public boolean isCaseSensitive() { + return isCaseSensitive; + } + /** + * Sets whether or not include and exclude patterns are matched + * in a case sensitive way * * @param isCaseSensitive whether or not the file system should be * regarded as a case sensitive one --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org