BUG-2627: do not duplicate descriptions 93/15193/1
authorRobert Varga <rovarga@cisco.com>
Thu, 12 Feb 2015 10:36:08 +0000 (11:36 +0100)
committerRobert Varga <rovarga@cisco.com>
Thu, 12 Feb 2015 10:36:08 +0000 (11:36 +0100)
commit6f9b565103acbc6eae1c50e5ef609241ebc8486e
tree30b389f297c6de28684f6a801a8134f6be1915ab
parent63129df122d3005453e60e8d79054d10d50ee348
BUG-2627: do not duplicate descriptions

This class effectively creates a repeateable annotation. Unfortunately
in Java 8, we get twice as many annotations, which leads to duplicate
entries. Instantiate an intermediate Set, so we suppress potential
duplicates.

Change-Id: I0377d439260c2b3793c972c73373f5f6c6a7f119
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/dynamicmbean/AnnotationsHelper.java