Fix codestyle
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / device / listener / MultiMsgCollectorImplTest.java
index 379326545925ba5c4a963c68085f8e3710c58d01..bbcc77f1621d2d601b168563c24dbc16f21682eb 100644 (file)
@@ -145,13 +145,10 @@ public class MultiMsgCollectorImplTest {
 
         Mockito.reset(deviceProcessor);
 
-        cleanUpCheck = new Runnable() {
-            @Override
-            public void run() {
-                Mockito.verify(deviceProcessor, VerificationModeFactory.noMoreInteractions())
-                    .processReply(xidCaptor.capture(), mmCaptor.capture());
-                Assert.assertEquals(xid, xidCaptor.getValue().getValue());
-            }
+        cleanUpCheck = () -> {
+            Mockito.verify(deviceProcessor, VerificationModeFactory.noMoreInteractions())
+                .processReply(xidCaptor.capture(), mmCaptor.capture());
+            Assert.assertEquals(xid, xidCaptor.getValue().getValue());
         };
     }
 
@@ -174,13 +171,10 @@ public class MultiMsgCollectorImplTest {
 
         Mockito.reset(deviceProcessor);
 
-        cleanUpCheck = new Runnable() {
-            @Override
-            public void run() {
-                Mockito.verify(deviceProcessor, VerificationModeFactory.noMoreInteractions())
-                    .processReply(xidCaptor.capture(), mmCaptor.capture());
-                Assert.assertEquals(xid, xidCaptor.getValue().getValue());
-            }
+        cleanUpCheck = () -> {
+            Mockito.verify(deviceProcessor, VerificationModeFactory.noMoreInteractions())
+                .processReply(xidCaptor.capture(), mmCaptor.capture());
+            Assert.assertEquals(xid, xidCaptor.getValue().getValue());
         };
     }