[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
Thu Jul 5 10:32:00 EDT 2018
[ https://issues.jboss.org/browse/IPROTO-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on IPROTO-64 started by Adrian Nistor.
-------------------------------------------
> 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
>
> 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