From 16932279211b8c12b4c53ffc7902d06e35d8ecf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Engelmann?= Date: Wed, 14 Feb 2024 10:28:36 +0100 Subject: [PATCH] fixed Checkstyle warnings --- .../com/draeger/medical/sdccc/tests/util/MdibHistorian.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdccc/src/main/java/com/draeger/medical/sdccc/tests/util/MdibHistorian.java b/sdccc/src/main/java/com/draeger/medical/sdccc/tests/util/MdibHistorian.java index a5c4ff23..47439962 100644 --- a/sdccc/src/main/java/com/draeger/medical/sdccc/tests/util/MdibHistorian.java +++ b/sdccc/src/main/java/com/draeger/medical/sdccc/tests/util/MdibHistorian.java @@ -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." @@ -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; }