From 2edd042f8ad921ea2c2505fc87bcb2f9296ed23e Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Wed, 19 Oct 2011 21:17:35 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/hadoop/fs/GlobFilter.java | 7 ++++++- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java index b5c04f004f..d0fe6146e3 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java @@ -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; diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index caf283ac86..9a54457b03 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -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)