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 05:32:00 UTC
[jira] [Resolved] (JCRVLT-265)
JcrPackageDefinition.getDependencies() might return an array with a null
element
[ https://issues.apache.org/jira/browse/JCRVLT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra resolved JCRVLT-265.
-------------------------------------
Resolution: Fixed
fixed in r1822742
> 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
> Priority: Major
> 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)