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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user