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

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 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 ]
        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