Skip to content

Initialize Optional with Optional.empty instead of null #3852

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions