Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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