LUCENE-7936: Fix broken GeoComplexPolygon serialization.

This commit is contained in:
Karl Wright 2017-08-25 12:06:30 -04:00
parent 36da0e4a5b
commit 287ab9dc40
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ public interface SerializableObject {
* @param value is the value to write.
*/
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.