Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-150

Implementations of JavaParser Interfaces should maintain equality with other implementations

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            ivan_stefanov Ivan St. Ivanov (Inactive)
            jporter@redhat.com Jason Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: