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:
@@ -169,7 +169,7 @@ public abstract class UplinkBaseHandler extends BaseThingHandler implements Nibe
|
||||
* @param values map containing the data updates
|
||||
*/
|
||||
@Override
|
||||
public void updateChannelStatus(Map<Channel, @Nullable State> values) {
|
||||
public void updateChannelStatus(Map<Channel, State> values) {
|
||||
logger.debug("Handling channel update. ({} Channels)", values.size());
|
||||
|
||||
for (Channel channel : values.keySet()) {
|
||||
|
||||
@@ -33,7 +33,6 @@ import com.google.gson.annotations.SerializedName;
|
||||
public class GenericDataResponse implements DataResponse {
|
||||
private final Logger logger = LoggerFactory.getLogger(GenericDataResponse.class);
|
||||
|
||||
@NonNullByDefault
|
||||
public static class Value {
|
||||
@SerializedName("VariableId")
|
||||
private @Nullable String variableId;
|
||||
|
||||
Reference in New Issue
Block a user