Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 (#14645)

Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
J-N-K
2023-03-21 21:03:05 +01:00
committed by GitHub
parent b47a205f44
commit 8e902f6324
36 changed files with 110 additions and 115 deletions

View File

@@ -211,7 +211,7 @@ public class DiscoveryServiceManager
if (discoveryServices.get(DsDeviceThingTypeProvider.SupportedThingTypes.circuit.toString()) != null) {
((DeviceDiscoveryService) discoveryServices
.get(DsDeviceThingTypeProvider.SupportedThingTypes.circuit.toString()))
.onDeviceAdded(device);
.onDeviceAdded(device);
}
}
} catch (RuntimeException ex) {
@@ -240,7 +240,7 @@ public class DiscoveryServiceManager
if (discoveryServices.get(DigitalSTROMBindingConstants.THING_TYPE_ZONE_TEMERATURE_CONTROL.toString()) != null) {
((ZoneTemperatureControlDiscoveryService) discoveryServices
.get(DigitalSTROMBindingConstants.THING_TYPE_ZONE_TEMERATURE_CONTROL.toString()))
.configChanged(tempControlStatus);
.configChanged(tempControlStatus);
}
}

View File

@@ -154,7 +154,7 @@ public class DsDeviceThingTypeProvider extends BaseDsI18n implements ThingTypePr
thingTypeBuilder.withChannelDefinitions(Arrays.asList(new ChannelDefinitionBuilder(
DsChannelTypeProvider.SHADE,
new ChannelTypeUID(DigitalSTROMBindingConstants.BINDING_ID, DsChannelTypeProvider.SHADE))
.build()));
.build()));
}
if (SupportedThingTypes.circuit.equals(supportedThingType)) {
List<ChannelDefinition> channelDefinitions = new ArrayList<>(3);
@@ -162,7 +162,8 @@ public class DsDeviceThingTypeProvider extends BaseDsI18n implements ThingTypePr
channelDefinitions.add(new ChannelDefinitionBuilder(
DsChannelTypeProvider.getMeteringChannelID(meteringType, MeteringUnitsEnum.WH, false),
new ChannelTypeUID(DigitalSTROMBindingConstants.BINDING_ID, DsChannelTypeProvider
.getMeteringChannelID(meteringType, MeteringUnitsEnum.WH, false))).build());
.getMeteringChannelID(meteringType, MeteringUnitsEnum.WH, false)))
.build());
}
thingTypeBuilder.withChannelDefinitions(channelDefinitions);
}