Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7512

Fix example mistake in WritableComparable javadocs

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.20.203.0
    • 0.23.0
    • documentation
    • None
    • 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.

      Attachments

        1. HADOOP-7512.r1.diff
          0.8 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: