Skip to content

Use Optional#orElseThrow instead of Optional#get #3976

@filiphr

Description

@filiphr

Follow up on #674. In some places instead of using Optional#get we could use Optional#orElseThrow if we are on Java 10 or later.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions