mirror of https://github.com/apache/lucene.git
Fix fall-through
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b078e0f003
commit
a891b969d9
|
@ -49,8 +49,8 @@ public class TestSortedSetSelector extends LuceneTestCase {
|
|||
// currently only these codecs that support random access ordinals
|
||||
int victim = random().nextInt(3);
|
||||
switch(victim) {
|
||||
case 0: Codec.setDefault(TestUtil.alwaysDocValuesFormat(new DirectDocValuesFormat()));
|
||||
case 1: Codec.setDefault(TestUtil.alwaysDocValuesFormat(new DiskDocValuesFormat()));
|
||||
case 0: Codec.setDefault(TestUtil.alwaysDocValuesFormat(new DirectDocValuesFormat())); break;
|
||||
case 1: Codec.setDefault(TestUtil.alwaysDocValuesFormat(new DiskDocValuesFormat())); break;
|
||||
default: Codec.setDefault(TestUtil.alwaysDocValuesFormat(new Lucene45DocValuesFormat()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue