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:
Michael McCandless 2011-07-14 10:22:57 +00:00
parent a684f6d497
commit 6ee674a11b
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ public class MultiPassIndexSplitter {
@Override
public int numDocs() {
return (int) liveDocs.cardinality();
return liveDocs.cardinality();
}
/**

View File

@ -137,7 +137,7 @@ public class PKIndexSplitter {
}
this.liveDocs = bits;
this.numDocs = (int) bits.cardinality();
this.numDocs = bits.cardinality();
}
@Override