Fix a theoretical IM_BAD_CHECK_FOR_ODD 99/83899/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Aug 2019 13:02:53 +0000 (15:02 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Aug 2019 13:02:53 +0000 (15:02 +0200)
commitb6147c7a4c8c1e9f963c80510931a0244957d2a7
tree1bc7ee2ece804f6ae9f224c2b7501359c8b2e744
parent8e1abcf5ca3eeb4dd0eebcebf425c2e529d0e99b
Fix a theoretical IM_BAD_CHECK_FOR_ODD

While the size of a collection cannot be negative, this keeps
SpotBugs happy about the check.

Change-Id: Ic84a9f147b9d933efc66766617f6271fcf1eddc1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/path/PathExpressionParser.java