From 226199d4e416e9614156f590858907abc7c190ba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 14:20:55 +0000 Subject: [PATCH 1/2] chore(deps): bump com.puppycrawl.tools:checkstyle in /ddk-parent Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 13.4.0 to 13.4.1. - [Release notes](https://github.com/checkstyle/checkstyle/releases) - [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-13.4.0...checkstyle-13.4.1) --- updated-dependencies: - dependency-name: com.puppycrawl.tools:checkstyle dependency-version: 13.4.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- ddk-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddk-parent/pom.xml b/ddk-parent/pom.xml index 6175f0cc50..a8117fb977 100644 --- a/ddk-parent/pom.xml +++ b/ddk-parent/pom.xml @@ -47,7 +47,7 @@ 3.6.0 - 13.4.0 + 13.4.1 3.5.0 3.1.4 4.9.8.3 From 407e9ccbb6c8c1cef972e6cc1c8ac0909a39b356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Sat, 2 May 2026 07:39:54 +0200 Subject: [PATCH 2/2] fix: mark bufferedOutput final to satisfy VariableDeclarationUsageDistance Checkstyle 13.4.1 (issue #19608) closes a false negative where VariableDeclarationUsageDistance did not flag variable usage inside try blocks. The bufferedOutput local in CheckBatchLinkableResourceStorageWritable.writeEntries is declared 4 statements before its first use (allowed: 3). Mark it final, as suggested by the check message, to preserve the existing structure and comment placement. --- .../resource/CheckBatchLinkableResourceStorageWritable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.avaloq.tools.ddk.check.core/src/com/avaloq/tools/ddk/check/resource/CheckBatchLinkableResourceStorageWritable.java b/com.avaloq.tools.ddk.check.core/src/com/avaloq/tools/ddk/check/resource/CheckBatchLinkableResourceStorageWritable.java index 34815bea2c..fbcc51ba0e 100644 --- a/com.avaloq.tools.ddk.check.core/src/com/avaloq/tools/ddk/check/resource/CheckBatchLinkableResourceStorageWritable.java +++ b/com.avaloq.tools.ddk.check.core/src/com/avaloq/tools/ddk/check/resource/CheckBatchLinkableResourceStorageWritable.java @@ -60,7 +60,7 @@ protected void writeEntries(final StorageAwareResource resource, final ZipOutput ZipEntry zipEntry; // Adapted from the ResourceStorageWritable base class - BufferedOutputStream bufferedOutput = new BufferedOutputStream(zipOut); + final BufferedOutputStream bufferedOutput = new BufferedOutputStream(zipOut); zipEntry = new ZipEntry("emf-contents"); zipEntry.setTime(CONSTANT_DATETIME_MILLIS); // Unique to this class