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.