Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5246 Open console support
  3. JBAS-6216

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

    XMLWordPrintable

Details

    • Low

    Description

      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.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            ips_jira Ian Springer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: