Francesco Mari created OAK-6568:
-----------------------------------
Summary: 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
{{NullPointerException}}s, it would be better to return an empty list instead.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)