mirror of https://github.com/apache/lucene.git
LUCENE-7936: Fix broken GeoComplexPolygon serialization.
This commit is contained in:
parent
36da0e4a5b
commit
287ab9dc40
|
@ -422,7 +422,7 @@ public interface SerializableObject {
|
||||||
* @param value is the value to write.
|
* @param value is the value to write.
|
||||||
*/
|
*/
|
||||||
static void writeBoolean(final OutputStream outputStream, final boolean value) throws IOException {
|
static void writeBoolean(final OutputStream outputStream, final boolean value) throws IOException {
|
||||||
outputStream.write(value?0:1);
|
outputStream.write(value?1:0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Read a boolean from a stream.
|
/** Read a boolean from a stream.
|
||||||
|
|
Loading…
Reference in New Issue