BUG-7464: Do not check twice for prev to be null 77/49877/6
authorRobert Varga <rovarga@cisco.com>
Fri, 30 Dec 2016 15:12:52 +0000 (16:12 +0100)
committerRobert Varga <rovarga@cisco.com>
Mon, 9 Jan 2017 14:17:12 +0000 (15:17 +0100)
commitf8f2e5ba4e6ca2c6bbcd3599142cef4647d4c7b2
tree693cf4f066508563186ecb86962d4fc82b675775
parent84d98c1804168e7397c4a30c30fc0f2504dc9fb5
BUG-7464: Do not check twice for prev to be null

Since we have performed a null check first and then downgraded
the unneeded instanceof check, we are left with a pure else-branch,
which proves the RuntimeException is not thrown.

Change-Id: I9dd8ba2d20738854a2790891dd6cfe099df91146
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/INode.java