You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2018/01/31 03:02:00 UTC
[jira] [Created] (JCRVLT-265)
JcrPackageDefinition.getDependencies() might return an array with a null
element
Tobias Bocanegra created JCRVLT-265:
---------------------------------------
Summary: JcrPackageDefinition.getDependencies() might return an array with a null element
Key: JCRVLT-265
URL: https://issues.apache.org/jira/browse/JCRVLT-265
Project: Jackrabbit FileVault
Issue Type: Bug
Components: Packaging
Affects Versions: 3.1.42
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
Fix For: 3.1.44
If a jcr package definition depedency property value has a non-valid dependency string, like an empty string, then the {{org.apache.jackrabbit.vault.packaging.JcrPackageDefinition#getDependencies}} might return an array that has a null element, which makes it cumbersome for users of the API to deal with it.
suggest to sanitize the array and extend the '@NonNull` annotation to the elements.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)