You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Vimal Sharma (JIRA)" <ji...@apache.org> on 2016/11/21 06:41:58 UTC
[jira] [Commented] (ATLAS-1303) Update hashCode and equals method
to use standard JDK libraries
[ https://issues.apache.org/jira/browse/ATLAS-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15682699#comment-15682699 ]
Vimal Sharma commented on ATLAS-1303:
-------------------------------------
I think there is a review board request for this JIRA. Can you add the review board link
> Update hashCode and equals method to use standard JDK libraries
> ---------------------------------------------------------------
>
> Key: ATLAS-1303
> URL: https://issues.apache.org/jira/browse/ATLAS-1303
> Project: Atlas
> Issue Type: Improvement
> Affects Versions: 0.8-incubating
> Reporter: Apoorv Naik
> Assignee: Apoorv Naik
> Fix For: 0.8-incubating
>
> Attachments: 0001-Updated-equals-and-hashCode-signatures.patch
>
>
> Currently all the hashCode and equals methods use numerous if-else branches to determine the result. This change uses the existing JDK7 Objects.equals(...) and Objects.hashCode(...) instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)