hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r653546 - in /hadoop/core/trunk: CHANGES.txt src/java/org/apache/hadoop/io/Text.java
Date Mon, 05 May 2008 18:10:47 GMT
Author: cdouglas
Date: Mon May  5 11:10:47 2008
New Revision: 653546

URL: http://svn.apache.org/viewvc?rev=653546&view=rev
Log:
HADOOP-3119. Update javadoc for Text::getBytes to better describe its
behavior. Contributed by Tim Nelson.


Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/java/org/apache/hadoop/io/Text.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=653546&r1=653545&r2=653546&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon May  5 11:10:47 2008
@@ -147,6 +147,9 @@
 
     HADOOP-3031. Fix javac warnings in test classes. (cdouglas)
 
+    HADOOP-3119. Update javadoc for Text::getBytes to better describe its
+    behavior. (Tim Nelson via cdouglas)
+
 Release 0.17.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/java/org/apache/hadoop/io/Text.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/java/org/apache/hadoop/io/Text.java?rev=653546&r1=653545&r2=653546&view=diff
==============================================================================
--- hadoop/core/trunk/src/java/org/apache/hadoop/io/Text.java (original)
+++ hadoop/core/trunk/src/java/org/apache/hadoop/io/Text.java Mon May  5 11:10:47 2008
@@ -82,7 +82,10 @@
     set(utf8);
   }
   
-  /** Retuns the raw bytes. */
+  /**
+   * Returns the raw bytes; however, only data up to {@link #getLength()} is
+   * valid.
+   */
   public byte[] getBytes() {
     return bytes;
   }



Mime
View raw message