Reuse a single QNameModule for NULL 38/8638/1
authorRobert Varga <rovarga@cisco.com>
Thu, 3 Jul 2014 21:08:14 +0000 (23:08 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 3 Jul 2014 21:13:27 +0000 (23:13 +0200)
commitb18c09b3c2236cd56b8923ecf15bb84f0b37eb12
tree6e4742a561e7c45f7e86f2e044594d96ef245a63
parentd77fc661a7f6b2d4e277ab84886eb85ad5de1496
Reuse a single QNameModule for NULL

QNameModules with null namespace/revision are an easy pick -- reuse a
single instance for all of them.

Change-Id: I1f519ad5a46c82da3daf17122087af89c97e5df8
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QNameModule.java