Use ImmutableSet/Map in YangValidationBundles 69/27069/1
authorRobert Varga <rovarga@cisco.com>
Wed, 16 Sep 2015 18:49:29 +0000 (20:49 +0200)
committerRobert Varga <rovarga@cisco.com>
Wed, 16 Sep 2015 18:49:29 +0000 (20:49 +0200)
commitb01a9090daf0b1515f1136f282e574ee7608eb69
tree9d19a21df7cd78a66b531e6938423cd0e51f23cf
parent12166cf08054c97e29fcd9522ffdc4c43b1211a7
Use ImmutableSet/Map in YangValidationBundles

These could easily be subverted, so make them proper constants. Also
saves some memory and fixes some sonar warnings (about declarations
being to a concrete class).

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