BundleService getBundleContent(long componentId, long versionId) Method returns null instead of empty array

Description

When using the BundleService getBundleContent(long componentId, long versionId) method, it returns null instead of empty array as indicated by its return signature. http://thestarware.com/api/cm/com/deniz/jira/versioning/bundles/BundleService.html

The below test case demonstrates this behavior:

This doesn’t have immediate impact, it’s just something weird / inconsistent I happened to find while working on my plugin. Thought I’d point it out to help improve the API.

Environment

None

Activity

Show:
Deniz Oğuz
July 14, 2020, 11:13 PM

Thanks for the notification. I have also fixed this one for next release.

Christina Jenks
July 15, 2020, 6:01 AM

Awesome, thanks!

Fixed

Assignee

Deniz Oğuz

Reporter

Christina Jenks

Labels

None

Source

None

Jira Version

Database Type/Version

H2 / In-Memory

Browser Type/Version

n/a

Fix versions

Affects versions

Priority

Minor
Configure