diff --git a/WHATSNEW b/WHATSNEW index c6b1b78da..7dcd69c99 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -14,6 +14,9 @@ Fixed bugs: variable when logged into workstations using Novell authentication. Bugzilla Report 30366. +* DependScanner.getResource() always returned nonexistent resources, + even when the resource actually existed. Bugzilla Report 30558. + Other changes: -------------- diff --git a/src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java b/src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java index 7eb838b06..8fc39cd11 100644 --- a/src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java +++ b/src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java @@ -38,11 +38,6 @@ public class DependScanner extends DirectoryScanner { public static final String DEFAULT_ANALYZER_CLASS = "org.apache.tools.ant.util.depend.bcel.FullAnalyzer"; - /** - * The base directory for the scan - */ - private File basedir; - /** * The root classes to drive the search for dependent classes */ @@ -71,23 +66,6 @@ public class DependScanner extends DirectoryScanner { this.parentScanner = parentScanner; } - /** - * Sets the basedir for scanning. This is the directory that is scanned - * recursively. - * - * @param basedir the basedir for scanning - */ - public void setBasedir(File basedir) { - this.basedir = basedir; - } - - /** - * Gets the basedir that is used for scanning. - * - * @return the basedir that is used for scanning - */ - public File getBasedir() { return basedir; } - /** * Sets the root classes to be used to drive the scan. *