hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1156833 - in /hadoop/common/trunk/hadoop-common: CHANGES.txt src/main/java/org/apache/hadoop/io/WritableComparable.java
Date Thu, 11 Aug 2011 21:15:50 GMT
Author: eli
Date: Thu Aug 11 21:15:49 2011
New Revision: 1156833

URL: http://svn.apache.org/viewvc?rev=1156833&view=rev
Log:
HADOOP-7512. Fix example mistake in WritableComparable javadocs. Contributed by Harsh J

Modified:
    hadoop/common/trunk/hadoop-common/CHANGES.txt
    hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparable.java

Modified: hadoop/common/trunk/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common/CHANGES.txt?rev=1156833&r1=1156832&r2=1156833&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common/CHANGES.txt Thu Aug 11 21:15:49 2011
@@ -478,6 +478,9 @@ Trunk (unreleased changes)
     HADOOP-7533. Allow test-patch to be run from any subproject directory.
     (tomwhite)
 
+    HADOOP-7512. Fix example mistake in WritableComparable javadocs.
+    (Harsh J via eli)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparable.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparable.java?rev=1156833&r1=1156832&r2=1156833&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparable.java
(original)
+++ hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparable.java
Thu Aug 11 21:15:49 2011
@@ -52,7 +52,7 @@ import org.apache.hadoop.classification.
  *         timestamp = in.readLong();
  *       }
  *       
- *       public int compareTo(MyWritableComparable w) {
+ *       public int compareTo(MyWritableComparable o) {
  *         int thisValue = this.value;
  *         int thatValue = ((IntWritable)o).value;
  *         return (thisValue < thatValue ? -1 : (thisValue==thatValue ? 0 : 1));



Mime
View raw message