Fix an eclipse warning 06/48206/1
authorRobert Varga <rovarga@cisco.com>
Thu, 10 Nov 2016 12:56:02 +0000 (13:56 +0100)
committerRobert Varga <rovarga@cisco.com>
Thu, 10 Nov 2016 12:56:02 +0000 (13:56 +0100)
commit1a1d5c6b3e80582aa4665412751f0b72703c1fcd
treeb51d5b8e02bd085fa3f8b7bb1eeb963e32add005
parent3e4972b4e8edd7387666808014cd33daddef2cb5
Fix an eclipse warning

Eclipse @Nonnull inference does not work with fields,
hence it produces a warning even when the field has
been checked via instanceof. Fix this by copying
the field into a local variable.

Change-Id: I9d7948c94b7bb292823ce6e5d4b36a276652f8fd
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/SubstatementContext.java