Fixup Augmentable and Identifiable methods changing
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / test / java / org / opendaylight / controller / md / sal / binding / impl / test / BackwardsCompatibleNotificationBrokerTest.java
index dd434b8152a61f4165b41a275d2c52a7002b0e82..5b49bd787322a839c13d4af2777ce7e3b4414b3a 100644 (file)
@@ -44,7 +44,7 @@ public class BackwardsCompatibleNotificationBrokerTest extends AbstractNotificat
 
     private TwoLevelListChanged createTestData() {
         final TwoLevelListChangedBuilder tb = new TwoLevelListChangedBuilder();
-        tb.setTopLevelList(ImmutableList.of(new TopLevelListBuilder().setKey(new TopLevelListKey("test")).build()));
+        tb.setTopLevelList(ImmutableList.of(new TopLevelListBuilder().withKey(new TopLevelListKey("test")).build()));
         return tb.build();
     }
 
@@ -75,12 +75,12 @@ public class BackwardsCompatibleNotificationBrokerTest extends AbstractNotificat
         private final List<TwoLevelListChanged> receivedNotifications = new ArrayList<>();
         private final CountDownLatch latch;
 
-        NotifTestListener(CountDownLatch latch) {
+        NotifTestListener(final CountDownLatch latch) {
             this.latch = latch;
         }
 
         @Override
-        public void onTwoLevelListChanged(TwoLevelListChanged notification) {
+        public void onTwoLevelListChanged(final TwoLevelListChanged notification) {
             receivedNotifications.add(notification);
             latch.countDown();
         }