Remove Map null annotation workarounds (#8916)
These workarounds to prevent false positives can be removed now the EEAs allow for proper null analysis. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -53,14 +53,14 @@ public class HVACHandler extends BaseThingHandler {
|
||||
* speed, but the protocol's fan command (and matching binding command) use
|
||||
* single-letter abbreviations.
|
||||
*/
|
||||
private static final Map<String, @Nullable String> FAN_NUM_TO_STR;
|
||||
private static final Map<String, String> FAN_NUM_TO_STR;
|
||||
|
||||
/**
|
||||
* The CoolMasterNet query command returns numbers 0-5 for operation modes,
|
||||
* but these don't map to any mode you can set on the device, so we use this
|
||||
* lookup table.
|
||||
*/
|
||||
private static final Map<String, @Nullable String> MODE_NUM_TO_STR;
|
||||
private static final Map<String, String> MODE_NUM_TO_STR;
|
||||
|
||||
static {
|
||||
FAN_NUM_TO_STR = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user