mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
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:
parent
397fc8d1cf
commit
0c3934f3c8
@ -60,7 +60,7 @@ public class HomeManager extends RestManager {
|
|||||||
UNKNOWN;
|
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) {
|
private static record EndpointUi(AccessType access, DisplayType display, String iconUrl, @Nullable String unit) {
|
||||||
|
@ -99,7 +99,7 @@ public abstract class AbstractHomeAssistantTests extends JavaTest {
|
|||||||
.thenReturn(ThingTypeBuilder.instance(HA_TYPE_UID, HA_TYPE_LABEL).build());
|
.thenReturn(ThingTypeBuilder.instance(HA_TYPE_UID, HA_TYPE_LABEL).build());
|
||||||
when(transformationServiceProvider
|
when(transformationServiceProvider
|
||||||
.getTransformationService(JinjaTransformationProfile.PROFILE_TYPE_UID.getId()))
|
.getTransformationService(JinjaTransformationProfile.PROFILE_TYPE_UID.getId()))
|
||||||
.thenReturn(jinjaTransformationService);
|
.thenReturn(jinjaTransformationService);
|
||||||
|
|
||||||
channelTypeProvider = spy(new MqttChannelTypeProvider(thingTypeRegistry));
|
channelTypeProvider = spy(new MqttChannelTypeProvider(thingTypeRegistry));
|
||||||
|
|
||||||
|
5
pom.xml
5
pom.xml
@ -77,8 +77,9 @@
|
|||||||
<netty.version>4.1.92.Final</netty.version>
|
<netty.version>4.1.92.Final</netty.version>
|
||||||
<okhttp.version>3.14.9</okhttp.version>
|
<okhttp.version>3.14.9</okhttp.version>
|
||||||
<sat.version>0.15.0</sat.version>
|
<sat.version>0.15.0</sat.version>
|
||||||
<spotless.version>2.35.0</spotless.version>
|
<spotless.version>2.37.0</spotless.version>
|
||||||
<spotless.eclipse.version>4.26</spotless.eclipse.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>
|
<spotless.eclipse.wtp.version>4.21.0</spotless.eclipse.wtp.version>
|
||||||
|
|
||||||
<bnd.importpackage/>
|
<bnd.importpackage/>
|
||||||
|
Loading…
Reference in New Issue
Block a user