Comment #6 on issue 630 by xiaof...@google.com: Java: initializing
JVM will only set the value to 0 but an integral protobuf field may have a
non-zero default value (set by field option [default = 12345]). When
generating the init method it's easier to just generate an assignment
statement for every field no matter whether the default value is 0 or not.
This is an implementation detail though. We could change it to not
initialize integral fields whose default value is 0.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups "Protocol
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.