]
Adrian Nistor updated IPROTO-64:
--------------------------------
Fix Version/s: 4.3.0.Alpha1
4.3.0.Final
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.