Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1347

GroupByContainerIds NPE if containerIds list is null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.1
    • None
    • None

    Description

      Another low-hanging fruit. The null check in group() happens AFTER checking the size of containerIds. These statements should be reordered.

      Also, Since the group(tasks) method always calls the group(tasks, containerIds) method, lets just move all the safety checks there.

      Attachments

        Issue Links

          Activity

            People

              jmakes Jake Maes
              jmakes Jake Maes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: