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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development