Skip to content

custom-set: use Collections.singletonList #649

Closed

Description

@FridaTveit

In CustomSetTest lists are being constructed using Arrays.asList. However, when there's only one element in the list Collections.singletonList should be used instead.

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

    codegood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions