[ 
https://issues.apache.org/jira/browse/HADOOP-12465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947930#comment-14947930
 ] 

Hudson commented on HADOOP-12465:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #468 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/468/])
HADOOP-12465. Incorrect javadoc in WritableUtils.java. Contributed by 
(aajisaka: rev 7fbf69bf47bb733f95b4afd733f9b65e1e7f2b46)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/WritableUtils.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> Incorrect javadoc in WritableUtils.java
> ---------------------------------------
>
>                 Key: HADOOP-12465
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12465
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.7.1
>            Reporter: Martin Petricek
>            Assignee: Jagadesh Kiran N
>            Priority: Minor
>             Fix For: 2.7.2
>
>         Attachments: MAPREDUCE-6496-00.patch, MAPREDUCE-6496-01.patch
>
>
> Documentation for writeVLong in WritableUtils states that "For
>  -112 <= i <= 127, only one byte is used"
> Documentation for writeVInt states that "For -120 <= i <= 127, only one byte 
> is used"
> writeVInt calls internally writeVLong, so the ranges are the same for both 
> functions. 
> After examining the code, I see that the documentation that is at writeVLong 
> is correct.
> Documentation for writeVInt is therefore incorrect and should be fixed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to