[
https://issues.apache.org/jira/browse/OLINGO-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bolz closed OLINGO-455.
-------------------------------
> Prevent NPE caused by returning NULL instead of empty Lists
> -----------------------------------------------------------
>
> Key: OLINGO-455
> URL: https://issues.apache.org/jira/browse/OLINGO-455
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.0
> Reporter: Michael Bolz
> Assignee: Michael Bolz
> Priority: Minor
> Fix For: V2 2.0.1
>
>
> In several classes (e.g. {{EntityContainer}}, {{Schema}}) instead of an empty
> {{List}} a {{NULL}} value is returned.
> This causes NPEs e.g. in {{EdmServiceMetadataImplProv.getEntitySetInfos()}}
> (line *152*).
> Best practice is returning empty {{List}} instead of {{NULL}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)