Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings: * AvoidStarImportCheck (125) * NeedBracesCheck (39) Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -122,8 +122,9 @@ public abstract class A5_12 extends _4BSMessage {
|
||||
Function<String, State> getCurrentStateFunc, Configuration config) {
|
||||
|
||||
EnOceanChannelTariffInfoConfig c = config.as(EnOceanChannelTariffInfoConfig.class);
|
||||
if (c.tariff != getTariffInfo())
|
||||
if (c.tariff != getTariffInfo()) {
|
||||
return UnDefType.UNDEF;
|
||||
}
|
||||
|
||||
switch (channelTypeId) {
|
||||
case CHANNEL_INSTANTPOWER:
|
||||
|
||||
Reference in New Issue
Block a user