Fix example mistake in WritableComparable javadocs
--------------------------------------------------

                 Key: HADOOP-7512
                 URL: https://issues.apache.org/jira/browse/HADOOP-7512
             Project: Hadoop Common
          Issue Type: Task
          Components: documentation
    Affects Versions: 0.20.203.0
            Reporter: Harsh J
            Priority: Trivial
             Fix For: 0.23.0


>From IRC, via uberj:

{code}
[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;
{code}

Attaching patch for s/w/o.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to