[
https://issues.apache.org/jira/browse/FELIX-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-3970.
--------------------------------------
Resolution: Fixed
Removed the hashCode and equals methods in Rev. 1456051
> Remove unneeded hashCode and equals methods from PrinterMode
> ------------------------------------------------------------
>
> Key: FELIX-3970
> URL: https://issues.apache.org/jira/browse/FELIX-3970
> Project: Felix
> Issue Type: Task
> Components: Inventory
> Affects Versions: inventory-1.0.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: inventory-1.0.0
>
>
> PrinterMode has hashCode and equals methods which are not required: There are
> only three instances of this class whose construction is controlled because
> it is a type safe enum.
> To compare, the Object.equals method comparing just the references and the
> Object.hashCode giving some object identity are enough.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira