Adjustments after changing null-annotations for updating properties (#12221)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
@@ -15,6 +15,7 @@ package org.openhab.binding.velux.internal.handler.utils;
|
||||
import java.util.Map;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
||||
import org.openhab.core.thing.Bridge;
|
||||
import org.openhab.core.thing.ChannelUID;
|
||||
import org.openhab.core.thing.binding.BaseBridgeHandler;
|
||||
@@ -59,7 +60,7 @@ public abstract class ExtendedBaseBridgeHandler extends BaseBridgeHandler {
|
||||
* @param properties properties map, that was updated and should be persisted
|
||||
*/
|
||||
@Override
|
||||
public void updateProperties(Map<String, String> properties) {
|
||||
public void updateProperties(@Nullable Map<String, String> properties) {
|
||||
super.updateProperties(properties);
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ package org.openhab.binding.velux.internal.handler.utils;
|
||||
import java.util.Map;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
||||
import org.openhab.core.thing.Thing;
|
||||
import org.openhab.core.thing.binding.BaseThingHandler;
|
||||
|
||||
@@ -61,7 +62,7 @@ public abstract class ExtendedBaseThingHandler extends BaseThingHandler {
|
||||
* @param properties properties map, that was updated and should be persisted
|
||||
*/
|
||||
@Override
|
||||
public void updateProperties(Map<String, String> properties) {
|
||||
public void updateProperties(@Nullable Map<String, String> properties) {
|
||||
super.updateProperties(properties);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user