HDFS-2474. Make GlobFilter class public. (tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1186498 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e549ac9369
commit
2edd042f8a
@ -21,8 +21,13 @@
|
||||
import java.util.regex.PatternSyntaxException;
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.hadoop.classification.InterfaceAudience;
|
||||
import org.apache.hadoop.classification.InterfaceStability;
|
||||
|
||||
// A class that could decide if a string matches the glob or not
|
||||
class GlobFilter implements PathFilter {
|
||||
@InterfaceAudience.Public
|
||||
@InterfaceStability.Evolving
|
||||
public class GlobFilter implements PathFilter {
|
||||
private final static PathFilter DEFAULT_FILTER = new PathFilter() {
|
||||
public boolean accept(Path file) {
|
||||
return true;
|
||||
|
@ -67,6 +67,8 @@ Trunk (unreleased changes)
|
||||
|
||||
HDFS-2322. the build fails in Windows because commons-daemon TAR cannot be fetched. (tucu)
|
||||
|
||||
HDFS-2474. Make GlobFilter class public. (tucu)
|
||||
|
||||
BUG FIXES
|
||||
HDFS-2287. TestParallelRead has a small off-by-one bug. (todd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user