Michael Bolz created OLINGO-455:
-----------------------------------

             Summary: 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
            Priority: Minor


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)

Reply via email to