Fix StatementMap$RegularAsCollection's size 24/76024/6
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 12 Sep 2018 09:29:40 +0000 (11:29 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 26 Dec 2018 02:30:35 +0000 (03:30 +0100)
commitd94cd2529378a5544030c75bdb23b05d98092e05
tree5af190c09f4a5d8027b12070cfaeed8a064d189b
parent20afe6b8eb455068f68d101220b3882be198d82c
Fix StatementMap$RegularAsCollection's size

We are not initializing the size field, hence the class does not
operate correctly. Fix that and remove isEmpty(), which is a useless
override.

Change-Id: I1543e617f14f0a88c6b59afe93364cace151ee5c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/StatementMap.java