BindingReflections' cache should use cached references 64/21864/2
authorRobert Varga <rovarga@cisco.com>
Wed, 3 Jun 2015 17:32:11 +0000 (19:32 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 5 Jun 2015 09:34:41 +0000 (09:34 +0000)
commita413cd4f5ab003d38880c2154dca324b8e88a8fb
tree09d5dc356c3bd011f4b3d8694be80b9714762542
parent0c8c2e4c941dbb2a855e75ad20f5ea8310f6e2aa
BindingReflections' cache should use cached references

Since we will be giving out these all over the place, it is a good idea
to make sure the returned reference is system-global.

Change-Id: I46c4f62c5ea8f8ee13e7745e6c9efd7d865bd6d4
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 47e801b7f26d9e8ce68738bdfd0d1b6e6c83ae0c)
yang/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/util/BindingReflections.java