HADOOP-12465. Incorrect javadoc in WritableUtils.java. Contributed by Jagadesh Kiran N.
(cherry picked from commit 7fbf69bf47
)
This commit is contained in:
parent
c43181d8a7
commit
613c7088fd
|
@ -735,6 +735,9 @@ Release 2.7.2 - UNRELEASED
|
||||||
HADOOP-12230. hadoop-project declares duplicate, conflicting curator
|
HADOOP-12230. hadoop-project declares duplicate, conflicting curator
|
||||||
dependencies. (Rakesh R via aajisaka)
|
dependencies. (Rakesh R via aajisaka)
|
||||||
|
|
||||||
|
HADOOP-12465. Incorrect javadoc in WritableUtils.java.
|
||||||
|
(Jagadesh Kiran N via aajisaka)
|
||||||
|
|
||||||
Release 2.7.1 - 2015-07-06
|
Release 2.7.1 - 2015-07-06
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -236,13 +236,13 @@ public final class WritableUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Serializes an integer to a binary stream with zero-compressed encoding.
|
* Serializes an integer to a binary stream with zero-compressed encoding.
|
||||||
* For -120 <= i <= 127, only one byte is used with the actual value.
|
* For -112 <= i <= 127, only one byte is used with the actual value.
|
||||||
* For other values of i, the first byte value indicates whether the
|
* For other values of i, the first byte value indicates whether the
|
||||||
* integer is positive or negative, and the number of bytes that follow.
|
* integer is positive or negative, and the number of bytes that follow.
|
||||||
|
* If the first byte value v is between -113 and -116, the following integer
|
||||||
|
* is positive, with number of bytes that follow are -(v+112).
|
||||||
* If the first byte value v is between -121 and -124, the following integer
|
* If the first byte value v is between -121 and -124, the following integer
|
||||||
* is positive, with number of bytes that follow are -(v+120).
|
* is negative, with number of bytes that follow are -(v+120). Bytes are
|
||||||
* If the first byte value v is between -125 and -128, the following integer
|
|
||||||
* is negative, with number of bytes that follow are -(v+124). Bytes are
|
|
||||||
* stored in the high-non-zero-byte-first order.
|
* stored in the high-non-zero-byte-first order.
|
||||||
*
|
*
|
||||||
* @param stream Binary output stream
|
* @param stream Binary output stream
|
||||||
|
|
Loading…
Reference in New Issue