Alissa Bonas has uploaded a new change for review. Change subject: engine: Add checkstyle rule EqualsHashCode ......................................................................
engine: Add checkstyle rule EqualsHashCode Checks that classes that override equals() also override hashCode(). http://checkstyle.sourceforge.net/config_coding.html Change-Id: Id7f270aa850529e1894fe3fd6198930b1844402b Signed-off-by: Alissa Bonas <abo...@redhat.com> --- M build-tools-root/checkstyles/src/main/resources/checkstyle.xml 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/66/22266/1 diff --git a/build-tools-root/checkstyles/src/main/resources/checkstyle.xml b/build-tools-root/checkstyles/src/main/resources/checkstyle.xml index 351a628..9492952 100644 --- a/build-tools-root/checkstyles/src/main/resources/checkstyle.xml +++ b/build-tools-root/checkstyles/src/main/resources/checkstyle.xml @@ -37,5 +37,6 @@ <module name="checks.NoArgConstructorCheck"> <property name="run" value="${checkNoArgConstructor}" default="false"/> </module> + <module name="EqualsHashCode"/> </module> </module> \ No newline at end of file -- To view, visit http://gerrit.ovirt.org/22266 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id7f270aa850529e1894fe3fd6198930b1844402b Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alissa Bonas <abo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches