eclipse / ice

This project has moved to: https://gitlab.eclipse.org/eclipse/ice/ice
https://gitlab.eclipse.org/eclipse/ice/ice
Eclipse Public License 1.0
30 stars 55 forks source link

Set @DataField's nullable to true by default #492

Open dbluhm opened 3 years ago

dbluhm commented 3 years ago

Suggestion from @walshmm: in practice, it seems that having the nullable property set to true by default is more desirable than our current default of false.

Having it set as false will cause the Lombok @NonNull annotation to be applied to the field's type, triggering an exception if there's any attempt to set the value to null.