Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6568

TarFiles returns null instead of an empty list in the graph

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.7, 1.8.0
    • segment-tar
    • None

    Description

      The graph returned by TarFiles#getGraph contains null if a segment in a TAR file doesn't reference any other segment. To avoid accidental occurrences of NullPointerException, it would be better to return an empty list instead.

      Attachments

        Activity

          People

            frm Francesco Mari
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: