[vcs-log] minor: reformat PersistentUtil

This commit is contained in:
Julia Beliaeva
2016-09-20 00:15:17 +03:00
parent 481e46486e
commit 8f4b56b2c1
@@ -66,7 +66,8 @@ public class PersistentUtil {
int version) throws IOException {
File storageFile = getStorageFile(storageKind, logId, version);
return IOUtil.openCleanOrResetBroken(() -> new PersistentBTreeEnumerator<>(storageFile, keyDescriptor, Page.PAGE_SIZE, null, version),
return IOUtil.openCleanOrResetBroken(() ->
new PersistentBTreeEnumerator<>(storageFile, keyDescriptor, Page.PAGE_SIZE, null, version),
storageFile);
}
@@ -77,8 +78,8 @@ public class PersistentUtil {
int version) throws IOException {
File storageFile = getStorageFile(storageKind, logId, version);
return IOUtil
.openCleanOrResetBroken(() -> new PersistentHashMap<>(storageFile, new IntInlineKeyDescriptor(), externalizer, Page.PAGE_SIZE),
storageFile);
return IOUtil.openCleanOrResetBroken(() ->
new PersistentHashMap<>(storageFile, new IntInlineKeyDescriptor(), externalizer, Page.PAGE_SIZE),
storageFile);
}
}