[forge-dev] [JBoss JIRA] Created: (SEAMFORGE-265) Some of the methods from JavaSource that return lists should be Sets

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


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

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


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. 

--
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