Remove duplicate 'return true' statements 96/36296/2
authorRobert Varga <rovarga@cisco.com>
Wed, 16 Mar 2016 13:48:12 +0000 (14:48 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 21 Mar 2016 11:11:42 +0000 (11:11 +0000)
commit1e1f78c242b5da077b2b3f61f2b108ecc2e259db
tree25cb592bc11605bd0cd65271e89368a044049ad7
parent15c366198fa48eefd94f4d1a72faa9833e988250
Remove duplicate 'return true' statements

Instead of having each case return true, make it the default return
from the method and use the last else branch to return false.

Change-Id: I545d2f2c19ef8a10b693a0e904766141bc5db34e
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorSnapshotMessageSupport.java