mirror of https://github.com/apache/lucene.git
fix redundant case warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a684f6d497
commit
6ee674a11b
|
@ -188,7 +188,7 @@ public class MultiPassIndexSplitter {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int numDocs() {
|
public int numDocs() {
|
||||||
return (int) liveDocs.cardinality();
|
return liveDocs.cardinality();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -137,7 +137,7 @@ public class PKIndexSplitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.liveDocs = bits;
|
this.liveDocs = bits;
|
||||||
this.numDocs = (int) bits.cardinality();
|
this.numDocs = bits.cardinality();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue