mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] minor: reformat PersistentUtil
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user