Hadoop Common
  1. Hadoop Common
  2. HADOOP-7512

Fix example mistake in WritableComparable javadocs

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20.203.0
    • Fix Version/s: 0.23.0
    • Component/s: documentation
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      From IRC, via uberj:

      [9:58pm] uberj: http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/io/WritableComparable.html
      [9:58pm] uberj: In the example it says "int thatValue = ((IntWritable)o).value;"
      [9:59pm] uberj: should 'o' be replaced with 'w'?
      [9:59pm] uberj: int thatValue = ((IntWritable)w).value;
      

      Attaching patch for s/w/o.

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #729 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/729/)
        HADOOP-7512. Fix example mistake in WritableComparable javadocs. Contributed by Harsh J

        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1156833
        Files :

        • /hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparable.java
        • /hadoop/common/trunk/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #729 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/729/ ) HADOOP-7512 . Fix example mistake in WritableComparable javadocs. Contributed by Harsh J eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1156833 Files : /hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparable.java /hadoop/common/trunk/hadoop-common/CHANGES.txt
        Hide
        Eli Collins added a comment -

        I've committed this. Thanks Harsh!

        Show
        Eli Collins added a comment - I've committed this. Thanks Harsh!
        Hide
        Eli Collins added a comment -

        +1

        Show
        Eli Collins added a comment - +1
        Hide
        Harsh J added a comment -

        Trivial docfix patch.

        Show
        Harsh J added a comment - Trivial docfix patch.

          People

          • Assignee:
            Harsh J
            Reporter:
            Harsh J
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development