Clean up apparently dead (and not thread safe) code 31/47031/2
authorMichael Vorburger <vorburger@redhat.com>
Mon, 17 Oct 2016 15:52:45 +0000 (17:52 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 20 Oct 2016 11:55:06 +0000 (11:55 +0000)
commit24522e1ea2cbc45350697265fa90cf419fcb5689
tree348d71beeee3f416d654e02e8972f791d1bbd08e
parent0baa00345e533e1fac2876a4d51c7ddfd73b7b74
Clean up apparently dead (and not thread safe) code

YangTemplate's private static Module is necessarily always null, so this
is dead code, and it should be perfectly safe, and clearer, to remove
this.

Full disclosure: I actually have absolutely no idea what writeIdentityNs
was originally good for, but don't think I'm breaking anything with this
clean up, because the way the code is now there is no way that this can
ever be anything else than null.

Change-Id: Ib08112c836efdc1c72443a5f93549a96f954dae8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/generator/impl/YangTemplate.xtend