[forge-dev] [JBoss JIRA] Created: (SEAMFORGE-266) Implementations of Interfaces should maintain equality with other implementations

Jason Porter (JIRA) jira-events at lists.jboss.org
Thu Jul 28 01:46:23 EDT 2011


Implementations of Interfaces should maintain equality with other implementations
---------------------------------------------------------------------------------

                 Key: SEAMFORGE-266
                 URL: https://issues.jboss.org/browse/SEAMFORGE-266
             Project: Seam Forge
          Issue Type: Enhancement
          Components: Plugin API
    Affects Versions: 1.0.0.Alpha4
            Reporter: Jason Porter


Until I saw how to create an Import (which I still don't agree with having to be tied to the Implementation) I thought about creating my own implementation for a test (a mock would be even better) so I looked at the equals for the ImportImpl and it does not keep equality with other implementations because it checks to see if the class is the same. It also checks internal state instead of using the interface methods.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-dev mailing list