浏览代码

HADOOP-6114. Fix javadoc documentation for FileStatus.getLen.
(Dmitry Rzhevskiy via dhruba)



git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@790277 13f79535-47bb-0310-9956-ffa450edef68

Dhruba Borthakur 16 年之前
父节点
当前提交
cf3d3a0643
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 3 0
      CHANGES.txt
  2. 3 2
      src/java/org/apache/hadoop/fs/FileStatus.java

+ 3 - 0
CHANGES.txt

@@ -862,6 +862,9 @@ Trunk (unreleased changes)
     HADOOP-6122. The great than operator in test-patch.sh should be "-gt" but
     not ">".  (szetszwo)
 
+    HADOOP-6114. Fix javadoc documentation for FileStatus.getLen.
+    (Dmitry Rzhevskiy via dhruba)
+
 Release 0.20.1 - Unreleased
 
   INCOMPATIBLE CHANGES

+ 3 - 2
src/java/org/apache/hadoop/fs/FileStatus.java

@@ -67,8 +67,9 @@ public class FileStatus implements Writable, Comparable {
     this.path = path;
   }
 
-  /* 
-   * @return the length of this file, in blocks
+  /**
+   * Get the length of this file, in bytes.
+   * @return the length of this file, in bytes.
    */
   public long getLen() {
     return length;