Browse Source

HADOOP-10192. FileSystem#getAclStatus has incorrect JavaDocs. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-4685@1553737 13f79535-47bb-0310-9956-ffa450edef68
Chris Nauroth 11 years ago
parent
commit
29dac1d629

+ 2 - 2
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java

@@ -2339,10 +2339,10 @@ public abstract class FileSystem extends Configured implements Closeable {
   }
 
   /**
-   * Gets the ACLs of files and directories.
+   * Gets the ACL of a file or directory.
    *
    * @param path Path to get
-   * @return RemoteIterator<AclStatus> which returns each AclStatus
+   * @return AclStatus describing the ACL of the file or directory
    * @throws IOException if an ACL could not be read
    */
   public AclStatus getAclStatus(Path path) throws IOException {

+ 2 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-4685.txt

@@ -24,6 +24,8 @@ HDFS-4685 (Unreleased)
     HADOOP-10187. FsShell CLI: add getfacl and setfacl with minimal support for
     getting and setting ACLs. (Vinay via cnauroth)
 
+    HADOOP-10192. FileSystem#getAclStatus has incorrect JavaDocs. (cnauroth)
+
   OPTIMIZATIONS
 
   BUG FIXES