Use Eclipse formatter 4.25 with Spotless (#15264)

This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born 2023-07-18 09:02:05 +02:00 committed by GitHub
parent 397fc8d1cf
commit 0c3934f3c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -60,7 +60,7 @@ public class HomeManager extends RestManager {
UNKNOWN;
}
private static record EndpointValue<T>(T value) {
private static record EndpointValue<T> (T value) {
}
private static record EndpointUi(AccessType access, DisplayType display, String iconUrl, @Nullable String unit) {

View File

@ -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));

View File

@ -77,8 +77,9 @@
<netty.version>4.1.92.Final</netty.version>
<okhttp.version>3.14.9</okhttp.version>
<sat.version>0.15.0</sat.version>
<spotless.version>2.35.0</spotless.version>
<spotless.eclipse.version>4.26</spotless.eclipse.version>
<spotless.version>2.37.0</spotless.version>
<!-- Eclipse Java formatter version 4.26+ does not check test files -->
<spotless.eclipse.version>4.25</spotless.eclipse.version>
<spotless.eclipse.wtp.version>4.21.0</spotless.eclipse.wtp.version>
<bnd.importpackage/>