You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kw...@apache.org on 2017/08/25 16:08:25 UTC
lucene-solr:branch_7x: LUCENE-7936: Fix broken GeoComplexPolygon
serialization.
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x 3b59343f7 -> 83a32ff13
LUCENE-7936: Fix broken GeoComplexPolygon serialization.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/83a32ff1
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/83a32ff1
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/83a32ff1
Branch: refs/heads/branch_7x
Commit: 83a32ff132c3e3d15878fca56ce6bfc201840450
Parents: 3b59343
Author: Karl Wright <Da...@gmail.com>
Authored: Fri Aug 25 12:06:30 2017 -0400
Committer: Karl Wright <Da...@gmail.com>
Committed: Fri Aug 25 12:08:18 2017 -0400
----------------------------------------------------------------------
.../java/org/apache/lucene/spatial3d/geom/SerializableObject.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/83a32ff1/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SerializableObject.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SerializableObject.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SerializableObject.java
index ee108a4..fa8005e 100644
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SerializableObject.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SerializableObject.java
@@ -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.