From ddbf3a21687249f3e8481f80839052ad0b8f746b Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Fri, 29 Jan 2016 06:16:30 -0500 Subject: [PATCH] fix wrong comment; add test proving it's wrong; add mixed codec tests --- .../codecs/lucene60/Lucene60PointWriter.java | 16 ++-- .../org/apache/lucene/index/PointValues.java | 8 +- .../apache/lucene/index/TestPointValues.java | 49 +++++++++++- .../lucene/index/BasePointFormatTestCase.java | 74 ++++++++++++++----- 4 files changed, 120 insertions(+), 27 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene60/Lucene60PointWriter.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene60/Lucene60PointWriter.java index 01491fdcdc8..74acb4d30ee 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/lucene60/Lucene60PointWriter.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene60/Lucene60PointWriter.java @@ -141,11 +141,17 @@ public class Lucene60PointWriter extends PointWriter implements Closeable { for(int i=0;i