BUG-2976 Generate hash/equals for config generated DTOs 99/20499/2
authorMaros Marsalek <mmarsale@cisco.com>
Fri, 15 May 2015 09:28:27 +0000 (11:28 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 26 May 2015 10:23:42 +0000 (10:23 +0000)
commitf48f157c11ce02504cd53d349d611282f649d47c
treeb24d4f2ee34847faa899ad09ab29db6134bb4912
parent35c3eedc5eaed0f1c5c65027af8f8981c566a389
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