[
https://issues.apache.org/jira/browse/SOLR-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930762#comment-13930762
]
Robert Muir commented on SOLR-5837:
-----------------------------------
My recommendation in a case like this: if you want to use it in testing, would
be to convert the logic to some assertEquals type helper methods (e.g. in a
test base class like SolrTestCaseJ4).
> Add missing equals implementation for SolrDocument, SolrInputDocument and
> SolrInputField.
> -----------------------------------------------------------------------------------------
>
> Key: SOLR-5837
> URL: https://issues.apache.org/jira/browse/SOLR-5837
> Project: Solr
> Issue Type: Improvement
> Reporter: Varun Thacker
> Assignee: Mark Miller
> Fix For: 4.8, 5.0
>
> Attachments: SOLR-5837.patch, SOLR-5837.patch
>
>
> While working on SOLR-5265 I tried comparing objects of SolrDocument,
> SolrInputDocument and SolrInputField. These classes did not Override the
> equals implementation.
> The issue will Override equals and hashCode methods to the 3 classes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]