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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        3m 21s 1 Harsh J 04/Aug/11 17:46
        Patch Available Patch Available Resolved Resolved
        7d 4h 28m 1 Eli Collins 11/Aug/11 22:14
        Resolved Resolved Closed Closed
        95d 3h 35m 1 Arun C Murthy 15/Nov/11 00:50
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        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
        Harsh J made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Harsh J made changes -
        Assignee Harsh J [ qwertymaniac ]
        Harsh J made changes -
        Field Original Value New Value
        Attachment HADOOP-7512.r1.diff [ 12489362 ]
        Hide
        Harsh J added a comment -

        Trivial docfix patch.

        Show
        Harsh J added a comment - Trivial docfix patch.
        Harsh J created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development