[jboss-jira] [JBoss JIRA] Created: (JBAS-6216) ManagementView.getComponentsForType(type) returns null, rather than an empty Set, if no Components of the specified type are deployed

Ian Springer (JIRA) jira-events at lists.jboss.org
Wed Nov 19 16:18:36 EST 2008


ManagementView.getComponentsForType(type) returns null, rather than an empty Set, if no Components of the specified type are deployed
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBAS-6216
                 URL: https://jira.jboss.org/jira/browse/JBAS-6216
             Project: JBoss Application Server
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
          Components: ProfileService
            Reporter: Ian Springer
            Assignee: Scott M Stark
            Priority: Minor


This is a public-facing API so should return an empty Set rather than null to make it less error-prone and easier to use. There are a bunch of other methods that return Collections in the ManagementView interface - these should also be reworked to never return null. The Javadoc should also indicate the methods will never return null.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list