BUG-994: Create QNameModule for resource sharing 25/6925/12
authorRobert Varga <rovarga@cisco.com>
Tue, 13 May 2014 22:26:20 +0000 (00:26 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 19 May 2014 05:39:55 +0000 (07:39 +0200)
commit6b9f336324e3a855a5980538c9e49f60f230cd1c
treea04a34058aef4f4837a910ca86f72dc8dba5fc23
parent68ff6add000c56f5bb6a52bc28df8777f29f4a56
BUG-994: Create QNameModule for resource sharing

This splits out the per-module invariants out of QName into a separate
class, QNameModule. This simplifies the QName logic quite a bit and
allows sharing of QNameModule in the future.

As a cleanup we get rid of static imports and improve exception texts.

Change-Id: Ic2651fe12f1982360afcfae0549cdee426de1556
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QName.java
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QNameModule.java [new file with mode: 0644]