Skip to content

Initialize Optional with Optional.empty instead of null #3852

@filiphr

Description

@filiphr

As written in #674 (comment).

It would be better if we do not create null optional, but rather Optional.empty when needed. This could be done in Type#getNull.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions