[
https://issues.apache.org/jira/browse/OAK-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Mari resolved OAK-6568.
---------------------------------
Resolution: Fixed
Fixed at r1805791.
> TarFiles returns null instead of an empty list in the graph
> -----------------------------------------------------------
>
> Key: OAK-6568
> URL: https://issues.apache.org/jira/browse/OAK-6568
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Fix For: 1.8, 1.7.7
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)