set java.util.Optional
constructor fields default to Optional.empty()
.
#1
Labels
enhancement
New feature or request
If I have an Optional field it would be nice that the instantiation would automatically be empty.
That way I can never have a null-value here.
Example:
should result in:
The text was updated successfully, but these errors were encountered: