sal-akka-raft: use lambdas 76/57176/2
authorStephen Kitt <skitt@redhat.com>
Tue, 16 May 2017 15:49:25 +0000 (17:49 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 16 May 2017 23:28:05 +0000 (23:28 +0000)
commit341a9dd5ff4c596aada3a0c1fa58c17c50d7521f
tree622a3e13259c0e10368757be75a990fc59d3a1ee
parentf3dcde7e0c3d27087ad9aac0d01bcb5c197dc9cf
sal-akka-raft: use lambdas

This series of patches uses lambdas instead of anonymous classes for
functional interfaces when possible. Lambdas are replaced with method
references when appropriate.

Change-Id: I1c48105a90efa73c1cb7ae2fba9111f74951fe11
Signed-off-by: Stephen Kitt <skitt@redhat.com>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/TimedRunnable.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/IsolationScenarioTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/LeaderTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.