[
https://issues.apache.org/jira/browse/CLEREZZA-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211729#comment-13211729
]
Reto Bachmann-Gmür commented on CLEREZZA-686:
---------------------------------------------
I don't think that there is any major disadvantage in g and w not being equals.
There is an advantage in multiple lockableMGaph over the same MGraph as being
equals, so I think the implemementation in your comment is just fine.
> LockableMGraphWrapper does not implement hashCode, equals and toString
> ----------------------------------------------------------------------
>
> Key: CLEREZZA-686
> URL: https://issues.apache.org/jira/browse/CLEREZZA-686
> Project: Clerezza
> Issue Type: Improvement
> Components: rdf.core
> Reporter: Rupert Westenthaler
> Assignee: Daniel Spicar
> Priority: Trivial
> Attachments:
> CLEREZZA-686_rdf.core-LockableMGraphWrapper-hasCode-equals-toString.patch
>
>
> LockableMGraphWrapper does not implement hashCode, equals and toString. This
> is not a big issue, because MGraphs are rarely used with sets or maps, but it
> is at least inconvenient for logging and debugging.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira