Fix a few warnings
[controller.git] / opendaylight / md-sal / sal-akka-segmented-journal / src / main / java / org / opendaylight / controller / akka / segjournal / DataJournalV0.java
index 567a08079387305de9b873ef73840b0130764617..93c93f8acc776e10f1de5b24c746426a0ed28801 100644 (file)
@@ -140,7 +140,7 @@ final class DataJournalV0 extends DataJournal {
             }
 
             LOG.trace("{}: starting append of {}", persistenceId, payload);
-            final Indexed<ToPersistence> entry = writer.append(new ToPersistence(repr));
+            final var entry = writer.append(new ToPersistence(repr));
             final int size = entry.size();
             LOG.trace("{}: finished append of {} with {} bytes at {}", persistenceId, payload, size, entry.index());
             recordMessageSize(size);