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:
Alejandro Abdelnur 2011-10-19 21:17:35 +00:00
parent e549ac9369
commit 2edd042f8a
2 changed files with 8 additions and 1 deletions

View File

@ -21,8 +21,13 @@ package org.apache.hadoop.fs;
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;

View File

@ -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)