BUG-2976 Generate hash/equals for config generated DTOs 97/20497/2
authorMaros Marsalek <mmarsale@cisco.com>
Fri, 15 May 2015 09:28:27 +0000 (11:28 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 19 May 2015 14:36:23 +0000 (14:36 +0000)
commitd46e17028cb8a136c8fb64c8823ad7ccbb4bd4c1
tree5d119707a3020a7b060f8e4a67a67e510b508570
parent6047f7d9e4f6dbd22666718fcd2d62b91cd245d7
BUG-2976 Generate hash/equals for config generated DTOs

The DTOs generated by config subsystem did not have hashCode and equals methods
This caused the canReuse instance to return false even if the old module could
be reused.

Change-Id: I11392c2947f570a05d1a5b84fdaaee9e6b89a717
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
opendaylight/config/yang-jmx-generator-plugin/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/plugin/ftl/TemplateFactory.java
opendaylight/config/yang-jmx-generator-plugin/src/test/java/org/opendaylight/controller/config/yangjmxgenerator/plugin/ModuleMXBeanEntryPluginTest.java