Skip to content

Harmonize Options API #1883

Description

@deluxe

Options class exposes mostly options methods with many overloads.
Three methods are outliers: nextElement(E[]), nextElement(List) and nextElement(Collection).

Rename nextElement(List) and nextElement(Collection) to option(List) and option(Collection).
A method option(E...) already exists so no need to rename nextElement(E...).

If modifying in version 2.x, keep existing methods as deprecated, forwarding to renamed methods.
In version 3, remove existing methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions