Align createQName @Nonnull declarations 61/79261/1
authorStephen Kitt <skitt@redhat.com>
Mon, 7 Jan 2019 08:42:09 +0000 (09:42 +0100)
committerStephen Kitt <skitt@redhat.com>
Mon, 7 Jan 2019 08:43:30 +0000 (09:43 +0100)
commit8765c7ff63acd9f01eb4dcb34c291c71cbd2f20d
tree0984ca849ba9bd5effc1955066c148274a88653c
parent24b9d580eb5eba1c7a5373a8b011c9281ab9eeb8
Align createQName @Nonnull declarations

RFC7951JSONInstanceIdentifierCodec overrides createQName with a
mismatched lastModule annotations; this patch aligns the annotations
(@Nonnull) without changing the implementation (which throws an
IllegalArgumentException if lastModule is null).

(Caught by SpotBugs.)

Change-Id: I9e08241a5ec1c58554a0cd178e46ad4aeb061a77
Signed-off-by: Stephen Kitt <skitt@redhat.com>
yang/yang-data-codec-gson/src/main/java/org/opendaylight/yangtools/yang/data/codec/gson/RFC7951JSONInstanceIdentifierCodec.java