LUCENE-8533: Fix Javadocs of DataInput#readVInt(): Negative numbers are supported, but should be avoided.

This commit is contained in:
Uwe Schindler 2018-10-18 12:36:16 +02:00
parent e6f6f352cf
commit 167c65afad
2 changed files with 5 additions and 2 deletions

View File

@ -208,6 +208,9 @@ Other:
* LUCENE-8523: Correct typo in JapaneseNumberFilterFactory javadocs (Ankush Jhalani
via Alan Woodward)
* LUCENE-8533: Fix Javadocs of DataInput#readVInt(): Negative numbers are
supported, but should be avoided. (Vladimir Dolzhenko via Uwe Schindler)
======================= Lucene 7.5.1 =======================
Bug Fixes:

View File

@ -103,8 +103,8 @@ public abstract class DataInput implements Cloneable {
}
/** Reads an int stored in variable-length format. Reads between one and
* five bytes. Smaller values take fewer bytes. Negative numbers are not
* supported.
* five bytes. Smaller values take fewer bytes. Negative numbers are
* supported, but should be avoided.
* <p>
* The format is described further in {@link DataOutput#writeVInt(int)}.
*