[infrastructure] move infered nullness warnings to error and update EEA (#8949)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
*/
|
||||
package org.openhab.binding.bsblan.internal;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
@@ -42,15 +41,8 @@ public class BsbLanBindingConstants {
|
||||
public static final String PARAMETER_CHANNEL_DESCRIPTION = "description";
|
||||
public static final String PARAMETER_CHANNEL_DATATYPE = "datatype";
|
||||
|
||||
public static final Set<String> WRITEABLE_CHANNELS = new HashSet<String>() {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
{
|
||||
add(PARAMETER_CHANNEL_NUMBER_VALUE);
|
||||
add(PARAMETER_CHANNEL_STRING_VALUE);
|
||||
add(PARAMETER_CHANNEL_SWITCH_VALUE);
|
||||
}
|
||||
};
|
||||
public static final Set<String> WRITEABLE_CHANNELS = Set.of(PARAMETER_CHANNEL_NUMBER_VALUE,
|
||||
PARAMETER_CHANNEL_STRING_VALUE, PARAMETER_CHANNEL_SWITCH_VALUE);
|
||||
|
||||
public static final int MIN_REFRESH_INTERVAL = 5;
|
||||
public static final int DEFAULT_REFRESH_INTERVAL = 60;
|
||||
|
||||
@@ -14,7 +14,6 @@ package org.openhab.binding.bsblan.internal;
|
||||
|
||||
import static org.openhab.binding.bsblan.internal.BsbLanBindingConstants.*;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
@@ -39,14 +38,7 @@ import org.osgi.service.component.annotations.Component;
|
||||
@Component(service = ThingHandlerFactory.class, configurationPid = "binding.bsblan")
|
||||
public class BsbLanHandlerFactory extends BaseThingHandlerFactory {
|
||||
|
||||
private static final Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = new HashSet<ThingTypeUID>() {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
{
|
||||
add(THING_TYPE_PARAMETER);
|
||||
add(THING_TYPE_BRIDGE);
|
||||
}
|
||||
};
|
||||
private static final Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = Set.of(THING_TYPE_PARAMETER, THING_TYPE_BRIDGE);
|
||||
|
||||
@Override
|
||||
public boolean supportsThingType(ThingTypeUID thingTypeUID) {
|
||||
|
||||
Reference in New Issue
Block a user