Apache Solr open-source search software
add todos, fix whitespace
Mike McCandlessc62ad7bba041
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.javaindex f9f1fa2ef5a..3ff4651775d 100644--- a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java+++ b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java@@ -215,6 +215,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {dir.close();}+ // TODO: on 6.0.0 release, gen the indices and add here:final static String[] oldNames = {};@@ -342,7 +343,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {"5.5.0-cfs","5.5.0-nocfs"};-++ // TODO: on 6.0.0 release, gen the single segment indices and add here:final static String[] oldSingleSegmentNames = {};@@ -951,6 +953,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {// add numeric fields, to test if flex preserves encodingdoc.add(new LegacyIntField("trieInt", id, Field.Store.NO));doc.add(new LegacyLongField("trieLong", (long) id, Field.Store.NO));+// add docvalues fieldsdoc.add(new NumericDocValuesField("dvByte", (byte) id));byte bytes[] = new byte[] {diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java b/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.javaindex 02690c4bc6a..874d5865141 100644--- a/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java+++ b/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java@@ -100,7 +100,7 @@ public final class IndexUpgrader {dirImpl = args[i];} else if (path == null) {path = arg;- }else {+ } else {printUsage();}i++;