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.

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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions