}
@Override
+ @SuppressWarnings("checkstyle:avoidHidingCauseException")
MappedFileWriter newFileWriter() {
return new MappedFileWriter(file, maxEntrySize, mappedBuffer.slice(), () -> {
- try {
- mappedBuffer.force();
- } catch (UncheckedIOException e) {
- throw e.getCause();
- }
+ try {
+ mappedBuffer.force();
+ } catch (UncheckedIOException e) {
+ throw e.getCause();
+ }
});
}