Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-7452

Aggregators should not return null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 10.0.0
    • None
    • Mission Control Core
    • None

      Currently there is some inconsistency in how aggregators return values, those that return a collection return an empty collection but those that return single values return null if there are no items in the item collection they are aggregating over. We should consider ensuring aggregators return Optional values to avoid unnecessary NPEs.

            Unassigned Unassigned
            hdafgard Henrik Dafgård
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: