[infinispan-issues] [JBoss JIRA] (IPROTO-64) Annotation based marshallers should unmarshall empty repeatable fields as empty collections instead of null
Adrian Nistor (JIRA)
issues at jboss.org
Mon Jul 9 04:41:00 EDT 2018
[ https://issues.jboss.org/browse/IPROTO-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Nistor updated IPROTO-64:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Integrated in master
> Annotation based marshallers should unmarshall empty repeatable fields as empty collections instead of null
> -----------------------------------------------------------------------------------------------------------
>
> Key: IPROTO-64
> URL: https://issues.jboss.org/browse/IPROTO-64
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.5.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 4.3.0.Alpha1, 4.3.0.Final
>
>
> They are currently set to null but it would be more useful to set them to empty collections.
> Protobuf does not have a representation for null or for empty/missing repeatable fields. Whether these are represented as null or empty collection in Java code is just a matter of convenience.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list