Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
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
/
ForwardedNotificationAdapterTest.java
diff --git
a/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/md/sal/binding/impl/test/ForwardedNotificationAdapterTest.java
b/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/md/sal/binding/impl/test/ForwardedNotificationAdapterTest.java
index 1687705854fe10001426923358651deee3548ad4..692b19efc07c9ce26a024f9e3be5afd1ab61487e 100644
(file)
--- a/
opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/md/sal/binding/impl/test/ForwardedNotificationAdapterTest.java
+++ b/
opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/md/sal/binding/impl/test/ForwardedNotificationAdapterTest.java
@@
-44,9
+44,9
@@
public class ForwardedNotificationAdapterTest extends AbstractNotificationBroker
}
}
- private TwoLevelListChanged createTestData() {
+ private
static
TwoLevelListChanged createTestData() {
final TwoLevelListChangedBuilder tb = new TwoLevelListChangedBuilder();
final TwoLevelListChangedBuilder tb = new TwoLevelListChangedBuilder();
- tb.setTopLevelList(ImmutableList.of(new TopLevelListBuilder().
set
Key(new TopLevelListKey("test")).build()));
+ tb.setTopLevelList(ImmutableList.of(new TopLevelListBuilder().
with
Key(new TopLevelListKey("test")).build()));
return tb.build();
}
return tb.build();
}
@@
-111,12
+111,12
@@
public class ForwardedNotificationAdapterTest extends AbstractNotificationBroker
private final List<TwoLevelListChanged> receivedNotifications = new ArrayList<>();
private final CountDownLatch latch;
private final List<TwoLevelListChanged> receivedNotifications = new ArrayList<>();
private final CountDownLatch latch;
- TestNotifListener(CountDownLatch latch) {
+ TestNotifListener(
final
CountDownLatch latch) {
this.latch = latch;
}
@Override
this.latch = latch;
}
@Override
- public void onTwoLevelListChanged(TwoLevelListChanged notification) {
+ public void onTwoLevelListChanged(
final
TwoLevelListChanged notification) {
receivedNotifications.add(notification);
latch.countDown();
}
receivedNotifications.add(notification);
latch.countDown();
}