mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 13:19:02 +00:00
Trivial: Removing unnecessary "throws"
This commit is contained in:
parent
508cadd33f
commit
bdaeb73ebb
@ -133,7 +133,7 @@ public class ReverseIndexConverter {
|
|||||||
private static class SizeEstimator implements LongBinaryIOOperation {
|
private static class SizeEstimator implements LongBinaryIOOperation {
|
||||||
public long size = 0;
|
public long size = 0;
|
||||||
@Override
|
@Override
|
||||||
public long apply(long start, long end) throws IOException {
|
public long apply(long start, long end) {
|
||||||
if (end == start) return end;
|
if (end == start) return end;
|
||||||
|
|
||||||
size += ReverseIndexParameters.bTreeContext.calculateSize((int) (end - start) / ReverseIndexParameters.ENTRY_SIZE);
|
size += ReverseIndexParameters.bTreeContext.calculateSize((int) (end - start) / ReverseIndexParameters.ENTRY_SIZE);
|
||||||
|
Loading…
Reference in New Issue
Block a user