diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java b/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java
index ae0b8eefc..d0baf302a 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java
@@ -173,23 +173,6 @@ class VAJWorkspaceScanner extends DirectoryScanner {
return packages;
}
- /**
- * Matches a string against a pattern. The pattern contains two special
- * characters:
- * '*' which means zero or more characters,
- * '?' which means one and only one character.
- *
- * @param pattern the (non-null) pattern to match against
- * @param str the (non-null) string that must be matched against the
- * pattern
- *
- * @return true
when the string matches against the pattern,
- * false
otherwise.
- */
- protected static boolean match(String pattern, String str) {
- return DirectoryScanner.match(pattern, str);
- }
-
/**
* Scans the workspace for packages that match at least one include
* pattern, and don't match any exclude patterns.