mirror of https://github.com/apache/lucene.git
remove unecessary assert: the write method below has a real 'if' checking this, and custom readers and writers may not have this limit
This commit is contained in:
parent
22ec456b0c
commit
1661a37a46
|
@ -608,7 +608,6 @@ public class OfflineSorter {
|
|||
|
||||
int count = 0;
|
||||
while ((spare = iter.next()) != null) {
|
||||
assert spare.length <= Short.MAX_VALUE;
|
||||
out.write(spare);
|
||||
count++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue