]
Scott M Stark resolved JBAS-6216.
---------------------------------
Fix Version/s: JBossAS-5.0.0.GA
Resolution: Done
All the collections returned are now non-null
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
Fix For: JBossAS-5.0.0.GA
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: