[
https://issues.jboss.org/browse/FORGE-154?page=com.atlassian.jira.plugin....
]
Lincoln Baxter III closed FORGE-154.
------------------------------------
Assignee: Lincoln Baxter III
Resolution: Won't Fix
This can't be done since order matters in such collections. Could use LinkedHashSet,
but that would be a less explicit API.
Some of the methods from JavaSource that return lists should be Sets
--------------------------------------------------------------------
Key: FORGE-154
URL:
https://issues.jboss.org/browse/FORGE-154
Project: Forge
Issue Type: Enhancement
Components: Plugin API
Affects Versions: 1.0.0.Alpha4
Reporter: Jason Porter
Assignee: Lincoln Baxter III
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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira