diff --git a/src/main/java/org/codehaus/plexus/util/AbstractScanner.java b/src/main/java/org/codehaus/plexus/util/AbstractScanner.java index af3fbc4a..16d64ef9 100644 --- a/src/main/java/org/codehaus/plexus/util/AbstractScanner.java +++ b/src/main/java/org/codehaus/plexus/util/AbstractScanner.java @@ -42,8 +42,8 @@ public abstract class AbstractScanner *
Tests whether or not a given path matches the start of a given pattern up to the first "**".
- * + * *This is not a general purpose test and should only be used if you can live with false positives. For example,
* pattern=**\a
and str=b
will yield true
.
Tests whether or not a given path matches the start of a given pattern up to the first "**".
- * + * *This is not a general purpose test and should only be used if you can live with false positives. For example,
* pattern=**\a
and str=b
will yield true
.
Sets the list of include patterns to use. All '/' and '\' characters are replaced by
* File.separatorChar
, so the separator used need not match File.separatorChar
.
When a pattern ends with a '/' or '\', "**" is appended.
* * @param includes A list of include patterns. May benull
, indicating that all files should be
@@ -253,7 +253,7 @@ public void setIncludes( String[] includes )
/**
* Sets the list of exclude patterns to use. All '/' and '\' characters are replaced by
* File.separatorChar
, so the separator used need not match File.separatorChar
.
When a pattern ends with a '/' or '\', "**" is appended.
* * @param excludes A list of exclude patterns. May benull
, indicating that no files should be