[modbus] Cleanup workaround leftovers and fix a few SAT findings (#10670)

- Cleanup workaround leftovers and fix a few SAT findings

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-05-12 13:15:24 +02:00
committed by GitHub
parent c3a6aa5814
commit 183fb0e390
5 changed files with 12 additions and 13 deletions

View File

@@ -183,7 +183,7 @@ public class ModbusPollerThingHandler extends BaseBridgeHandler {
private final Logger logger = LoggerFactory.getLogger(ModbusPollerThingHandler.class);
private final static List<String> SORTED_READ_FUNCTION_CODES = ModbusBindingConstantsInternal.READ_FUNCTION_CODES
private static final List<String> SORTED_READ_FUNCTION_CODES = ModbusBindingConstantsInternal.READ_FUNCTION_CODES
.keySet().stream().sorted().collect(Collectors.toUnmodifiableList());
private @NonNullByDefault({}) ModbusPollerConfiguration config;