Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
This is a wish. Some data objects in org.apache.opencmis.commons return null for collection properties in case of the collection is empty. I would like to suggest that collection return always empty list rather than null. Null leads to unnecessary checks everywhere and causes a lot of NPE. It is simply error prone.
What do you think?