mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Remove redundant @NonNullByDefault In Integration test (#3009)
Nullness default is redundant with a default specified for the enclosing type AutomationIntegrationJsonTest. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
-2
@@ -306,7 +306,6 @@ public class AutomationIntegrationJsonTest extends JavaOSGiTest {
|
||||
// run the rule to check if the runtime rule has resolved module references and is executed successfully
|
||||
EventPublisher eventPublisher = getService(EventPublisher.class);
|
||||
|
||||
@NonNullByDefault
|
||||
EventSubscriber itemEventHandler = new EventSubscriber() {
|
||||
|
||||
@Override
|
||||
@@ -357,7 +356,6 @@ public class AutomationIntegrationJsonTest extends JavaOSGiTest {
|
||||
SwitchItem myMotionItem = (SwitchItem) itemRegistry.getItem("myMotionItem");
|
||||
assertThat(myMotionItem.getState(), is(UnDefType.NULL));
|
||||
|
||||
@NonNullByDefault
|
||||
EventSubscriber eventHandler = new EventSubscriber() {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user