Skip to content

Commit

Permalink
fixed Checkstyle warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-Draeger committed Feb 14, 2024
1 parent ee8c6f5 commit 1693227
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public RemoteMdibAccess applyReportOnStorage(final RemoteMdibAccess storage, fin
final var reportProcessor = reportProcessorProvider.get();
reportProcessor.startApplyingReportsOnMdib(storage, null);

var cmp = ImpliedValueUtil.getMdibVersion(storage.getMdibVersion())
final var cmp = ImpliedValueUtil.getMdibVersion(storage.getMdibVersion())
.compareTo(ImpliedValueUtil.getReportMdibVersion(report));
if (cmp > 0) {
fail("Cannot apply report older than current storage."
Expand Down Expand Up @@ -561,7 +561,7 @@ public RemoteMdibAccess applyReportOnStorage(final RemoteMdibAccess storage, fin
// reportProcessor.processReport().
// simply ignore them.
@SuppressWarnings("unused")
var _ignored = 1; // make Checkstyle happy
final var ignored = 1; // make Checkstyle happy
}
return storage;
}
Expand Down

0 comments on commit 1693227

Please sign in to comment.