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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]