Browse Source

Move DirectoryScanner.getScannedDirs() to package-private access;

add DirectoryScannerTest to tests.and.ant.share.classloader tests.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277814 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
9b1699347c
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      build.xml
  2. +1
    -1
      src/main/org/apache/tools/ant/DirectoryScanner.java

+ 2
- 0
build.xml View File

@@ -1612,6 +1612,8 @@
<!-- These tests only passes if testcases and Ant classes have <!-- These tests only passes if testcases and Ant classes have
been loaded by the same classloader - will throw been loaded by the same classloader - will throw
IllegalAccessExceptions otherwise. --> IllegalAccessExceptions otherwise. -->
<exclude name="${ant.package}/DirectoryScannerTest.java"
unless="tests.and.ant.share.classloader"/>
<exclude name="${ant.package}/taskdefs/SQLExecTest.java" <exclude name="${ant.package}/taskdefs/SQLExecTest.java"
unless="tests.and.ant.share.classloader"/> unless="tests.and.ant.share.classloader"/>
<exclude name="${ant.package}/taskdefs/cvslib/ChangeLogWriterTest.java" <exclude name="${ant.package}/taskdefs/cvslib/ChangeLogWriterTest.java"


+ 1
- 1
src/main/org/apache/tools/ant/DirectoryScanner.java View File

@@ -1587,7 +1587,7 @@ public class DirectoryScanner
* Set is live and should not be modified. * Set is live and should not be modified.
* @return the Set of relative directory names that have been scanned. * @return the Set of relative directory names that have been scanned.
*/ */
public Set getScannedDirs() {
/* package-private */ Set getScannedDirs() {
return scannedDirs; return scannedDirs;
} }




Loading…
Cancel
Save