private Writer journalWriter;
- private final LinkedHashMap<String, Entry> lruEntries = new LinkedHashMap<String, Entry>(0,
+ private final LinkedHashMap<String, Entry> lruEntries = new LinkedHashMap<>(0,
0.75f, true);
private int redundantOpCount;
if (journalWriter == null) {
return; // already closed
}
- for (final Entry entry : new ArrayList<Entry>(lruEntries.values())) {
+ for (final Entry entry : new ArrayList<>(lruEntries.values())) {
if (entry.currentEditor != null) {
entry.currentEditor.abort();
}