[
https://issues.apache.org/jira/browse/CLEREZZA-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203440#comment-13203440
]
Reto Bachmann-Gmür commented on CLEREZZA-686:
---------------------------------------------
Just delegating to the inherited hashCode and equals from Object satisfies the
contract and poses no synchronization issues. Delegating to the wrapped MGraph
would be better, a locking isn't needed in this case either as an MGraph
doesn't change its identity by triples being added or removed.
> 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