Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-265

JcrPackageDefinition.getDependencies() might return an array with a null element

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.42
    • Fix Version/s: 3.1.44
    • Component/s: Packaging
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tripod Tobias Bocanegra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: