Fix checkstyle
[netconf.git] / netconf / mdsal-netconf-notification / src / test / java / org / opendaylight / netconf / mdsal / notification / impl / OperationalDatastoreListenerTest.java
index ee7fd927f17e97c2c8793c15d79a5c85b90bb557..ee4cdda61f54e50f1203aea75bfa5c2912789e32 100644 (file)
@@ -37,10 +37,10 @@ public class OperationalDatastoreListenerTest {
         final DataTreeIdentifier<DataObject> testId =
                 DataTreeIdentifier.create(LogicalDatastoreType.OPERATIONAL, instanceIdentifier);
 
-        final OperationalDatastoreListener<DataObject> op =
-                new OperationalDatastoreListener<DataObject>(instanceIdentifier) {
+        final var op = new OperationalDatastoreListener<>(instanceIdentifier) {
             @Override
             public void onDataTreeChanged(final Collection<DataTreeModification<DataObject>> collection) {
+                // no-op
             }
         };
         doReturn(null).when(dataBroker).registerDataTreeChangeListener(any(), any());