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:
Wouter Born
2022-06-20 22:09:30 +02:00
committed by GitHub
parent c2ec97cfaf
commit 916b6e9db1
@@ -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