BUG-4793: Fix CaseShorthandImpl#isConfiguration() 68/31468/3
authorRobert Varga <rovarga@cisco.com>
Wed, 16 Dec 2015 17:42:22 +0000 (18:42 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 16 Dec 2015 18:24:21 +0000 (19:24 +0100)
commit5d72016e91fd7ec8ac526c66b4a24e373d1af74f
tree10b998eea5476be6c05cb9abcd7cab4d69264b86
parent46cda8f4cbd0428810ad353593a7f45005410480
BUG-4793: Fix CaseShorthandImpl#isConfiguration()

The shorthand case statement should defer to the statement which implied
it for isConfiguration(). Since we're here, make this
implementation-specific class package-private and final. Also eliminate
all the fields which should be proxied by the statement. Finally use
ImmutableSet/List for collections.

Change-Id: Ie832c2d27f9e3dbdc485c68fcfa1205e45a4afbd
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc6020/effective/CaseShorthandImpl.java