Browse Source

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
Alejandro Abdelnur 13 years ago
parent
commit
2edd042f8a

+ 6 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java

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

+ 2 - 0
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)