From 0c3934f3c8878d492303094f916634ccd548e256 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Tue, 18 Jul 2023 09:02:05 +0200 Subject: [PATCH] Use Eclipse formatter 4.25 with Spotless (#15264) This version still checks test files. See: openhab/openhab-core#3515 Signed-off-by: Wouter Born --- .../binding/freeboxos/internal/api/rest/HomeManager.java | 2 +- .../homeassistant/internal/AbstractHomeAssistantTests.java | 2 +- pom.xml | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/HomeManager.java b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/HomeManager.java index 6fd9187016b..fbb64ecaf6d 100644 --- a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/HomeManager.java +++ b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/HomeManager.java @@ -60,7 +60,7 @@ public class HomeManager extends RestManager { UNKNOWN; } - private static record EndpointValue(T value) { + private static record EndpointValue (T value) { } private static record EndpointUi(AccessType access, DisplayType display, String iconUrl, @Nullable String unit) { diff --git a/bundles/org.openhab.binding.mqtt.homeassistant/src/test/java/org/openhab/binding/mqtt/homeassistant/internal/AbstractHomeAssistantTests.java b/bundles/org.openhab.binding.mqtt.homeassistant/src/test/java/org/openhab/binding/mqtt/homeassistant/internal/AbstractHomeAssistantTests.java index 1ceb52e074c..80c703339b2 100644 --- a/bundles/org.openhab.binding.mqtt.homeassistant/src/test/java/org/openhab/binding/mqtt/homeassistant/internal/AbstractHomeAssistantTests.java +++ b/bundles/org.openhab.binding.mqtt.homeassistant/src/test/java/org/openhab/binding/mqtt/homeassistant/internal/AbstractHomeAssistantTests.java @@ -99,7 +99,7 @@ public abstract class AbstractHomeAssistantTests extends JavaTest { .thenReturn(ThingTypeBuilder.instance(HA_TYPE_UID, HA_TYPE_LABEL).build()); when(transformationServiceProvider .getTransformationService(JinjaTransformationProfile.PROFILE_TYPE_UID.getId())) - .thenReturn(jinjaTransformationService); + .thenReturn(jinjaTransformationService); channelTypeProvider = spy(new MqttChannelTypeProvider(thingTypeRegistry)); diff --git a/pom.xml b/pom.xml index fc5f63b5965..035f4e7b852 100644 --- a/pom.xml +++ b/pom.xml @@ -77,8 +77,9 @@ 4.1.92.Final 3.14.9 0.15.0 - 2.35.0 - 4.26 + 2.37.0 + + 4.25 4.21.0