droolsjbpm/droolsjbpm-knowledge — comment on commit a7df4369ea075cba646d13d0466a597e7952cf18
File:  line 0
By jespersm:

Yes, the inner class is not required, returning "enumerations" as empty is fine.

I was just assuming that there was a specific reason for returning null (allow earlier collection of "enumerations") instead of the empty enumeration.

BTW, please consider this patch for the 5.3.x branch too :-)