BUG-582: Optimize and correct validateJavaPackage 80/7380/1
authorRobert Varga <rovarga@cisco.com>
Sat, 24 May 2014 07:15:34 +0000 (09:15 +0200)
committerRobert Varga <rovarga@cisco.com>
Sun, 25 May 2014 10:33:20 +0000 (12:33 +0200)
commitedb0523afb67d1226d3779eb19cbec1b4eeaa5a4
treeb24e3ab987887aaa02fd3986315eeed36d73e49c
parent0b8e27fd5d8e14365107dfb6ccfc0503d834d6ab
BUG-582: Optimize and correct validateJavaPackage

This removes obsolete set and uses it from Binding. Also does the same
for the package prefix -- this in fact was incorrect a happened to work
because YANG version == 1, same as our binding version. Finally we
optimize the validateJavaPackage() since it is a major CPU hog.

Change-Id: Ib189606cbc78a47681d4eb30174ebc51d82e04bc
Signed-off-by: Robert Varga <rovarga@cisco.com>
code-generator/binding-generator-util/src/main/java/org/opendaylight/yangtools/binding/generator/util/BindingGeneratorUtil.java