[
https://issues.apache.org/jira/browse/FELIX-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved FELIX-6151.
-------------------------------------
Resolution: Won't Fix
Fix Version/s: (was: utils-1.11.4)
I was looking at old code, there is no equals anymore
> Implement equals method based on interface
> ------------------------------------------
>
> Key: FELIX-6151
> URL: https://issues.apache.org/jira/browse/FELIX-6151
> Project: Felix
> Issue Type: Improvement
> Components: Utils
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
>
> For RequirementImpl and CapabilityImpl the equals() method is currently
> implemented in AbstractCapabilityRequirement which requires that the passed
> object also is a subclass of AbstractCapabilityRequirement.
> However, equals can be implemented based in the interfaces and does not need
> to require that the implementation is a subclass of
> AbstractCapabilityRequirement. This allows to check for equals of
> Requirements or Capabilities regardless of their origin
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)