From 40690b4486352401029ec992c7890b57e0f44f5b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 10:33:58 +0000 Subject: [PATCH] chore(deps-dev): Bump the minor-patch group across 1 directory with 2 updates Bumps the minor-patch group with 2 updates in the / directory: [org.mockito:mockito-core](https://github.com/mockito/mockito) and [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless). Updates `org.mockito:mockito-core` from 5.23.0 to 5.24.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.23.0...v5.24.0) Updates `com.diffplug.spotless:spotless-maven-plugin` from 3.10.2 to 3.10.3 - [Release notes](https://github.com/diffplug/spotless/releases) - [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md) - [Commits](https://github.com/diffplug/spotless/compare/maven/3.10.2...maven/3.10.3) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-version: 5.24.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: com.diffplug.spotless:spotless-maven-plugin dependency-version: 3.10.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch ... Signed-off-by: dependabot[bot] --- .../sap/cds/feature/ord/common/OrdJsonInputStream.java | 10 ++++++---- .../impl/StaticOrdResourcesProviderImplTest.java | 6 ++++-- pom.xml | 4 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/cds-feature-ord/src/main/java/com/sap/cds/feature/ord/common/OrdJsonInputStream.java b/cds-feature-ord/src/main/java/com/sap/cds/feature/ord/common/OrdJsonInputStream.java index 0db30ad..b99c8aa 100644 --- a/cds-feature-ord/src/main/java/com/sap/cds/feature/ord/common/OrdJsonInputStream.java +++ b/cds-feature-ord/src/main/java/com/sap/cds/feature/ord/common/OrdJsonInputStream.java @@ -110,10 +110,12 @@ private int handleStructEnd() throws IOException { JsonToken next = parser.nextToken(); if (isNull(next)) { // We're at the end of the JSON file - nodeProcessors.stream().filter(CdsOrdNodeProcessor::canGenerate).forEach(processor -> processor - .process(null, null) - .ifPresent(node -> - appendToBuffer(", \"" + processor.getGeneratedNodeName() + "\": ", node.toPrettyString()))); + nodeProcessors.stream() + .filter(CdsOrdNodeProcessor::canGenerate) + .forEach(processor -> processor + .process(null, null) + .ifPresent(node -> appendToBuffer( + ", \"" + processor.getGeneratedNodeName() + "\": ", node.toPrettyString()))); } appendToBuffer(token.asString()); diff --git a/cds-feature-ord/src/test/java/com/sap/cds/feature/ord/provider/impl/StaticOrdResourcesProviderImplTest.java b/cds-feature-ord/src/test/java/com/sap/cds/feature/ord/provider/impl/StaticOrdResourcesProviderImplTest.java index b4e49da..eecc4ba 100644 --- a/cds-feature-ord/src/test/java/com/sap/cds/feature/ord/provider/impl/StaticOrdResourcesProviderImplTest.java +++ b/cds-feature-ord/src/test/java/com/sap/cds/feature/ord/provider/impl/StaticOrdResourcesProviderImplTest.java @@ -85,8 +85,10 @@ void givenPerspectiveIsSystemInstance_whenGetDocumentIsCalled_thenCorrectResultI String document = concat("documents", getBaseName(getOrdProperties(runtime).getOrdDocumentPath())); - assertThrows(IllegalArgumentException.class, () -> new StaticOrdResourcesProviderImpl(runtime, List.of()) - .read(document, PERSPECTIVE_SYSTEM_INSTANCE)); + assertThrows( + IllegalArgumentException.class, + () -> new StaticOrdResourcesProviderImpl(runtime, List.of()) + .read(document, PERSPECTIVE_SYSTEM_INSTANCE)); } @Test diff --git a/pom.xml b/pom.xml index 791bc24..59d5a53 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ 6.1.3 3.0 2.22.3 - 5.23.0 + 5.24.0 5.34.0 5.1.1 https://cap.cloud.sap/docs/java @@ -225,7 +225,7 @@ com.diffplug.spotless spotless-maven-plugin - 3.10.2 + 3.10.3