Add *** to Path for all descendents

This commit is contained in:
Mark Harrah 2010-03-13 19:31:27 -05:00
parent 6bee0f1176
commit 05e4250253
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ sealed abstract class PathFinder extends NotNull
/** Constructs a new finder that selects all paths with a name that matches <code>filter</code> and are /** Constructs a new finder that selects all paths with a name that matches <code>filter</code> and are
* descendents of paths selected by this finder.*/ * descendents of paths selected by this finder.*/
def **(filter: FileFilter): PathFinder = new DescendentOrSelfPathFinder(this, filter) def **(filter: FileFilter): PathFinder = new DescendentOrSelfPathFinder(this, filter)
def *** : PathFinder = **(AllPassFilter)
/** Constructs a new finder that selects all paths with a name that matches <code>filter</code> and are /** Constructs a new finder that selects all paths with a name that matches <code>filter</code> and are
* immediate children of paths selected by this finder.*/ * immediate children of paths selected by this finder.*/
def *(filter: FileFilter): PathFinder = new ChildPathFinder(this, filter) def *(filter: FileFilter): PathFinder = new ChildPathFinder(this, filter)