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

Some of the methods from JavaSource that return lists should be Sets

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • None
    • 1.0.0.Alpha4
    • Plugin API
    • None

    Description

      Methods like getImports(), getMembers(), (getSyntaxErrors() as SyntaxError is currently defined won't work as there's nothing that really sets apart one SyntaxError from another. If it contained a line number in addition to the definition they could be unique) should returns Sets instead of Lists as you should never have more than one occurrence of an item in the collection.

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            jporter@redhat.com Jason Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: