From cf3d3a0643ace6f4b4bc2c6ff434bbff249e92a3 Mon Sep 17 00:00:00 2001 From: Dhruba Borthakur Date: Wed, 1 Jul 2009 17:20:42 +0000 Subject: [PATCH] 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 --- CHANGES.txt | 3 +++ src/java/org/apache/hadoop/fs/FileStatus.java | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 71d9ee0c701..3415a8e229d 100644 --- a/CHANGES.txt +++ b/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 diff --git a/src/java/org/apache/hadoop/fs/FileStatus.java b/src/java/org/apache/hadoop/fs/FileStatus.java index 124984658cd..5a1acecc6cd 100644 --- a/src/java/org/apache/hadoop/fs/FileStatus.java +++ b/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;