Skip to content

sieve: remove redundant array creation #343

Closed

Description

@FridaTveit

In the first test in SieveTest Arrays.asList(new Integer[]{2}) can be changed to Collections.singletonList(2). This removes the redundant array creation and is more readable.

Activity

  1. vasouv commented on Mar 17, 2017

    @vasouv
    Contributor

    i'd like to be assigned to this one as well.

  2. FridaTveit commented on Mar 17, 2017

    @FridaTveit
    ContributorAuthor

    Feel free to start working on it :)

  3. jtigger commented on Mar 20, 2017

    @jtigger
    Contributor

    @vasouv: @FridaTveit is right in saying that since we don't have that much work in flight, right now, we'll pretty easily detect when two people are tackling the same bit of work... at this moment, you don't have to take any additional action to claim this work.

    If you want that added peace-of-mind, feel free to create an empty PR with in the format: "sieve: remove redundant array creation [WIP]". This is the clearest signal I know contributors can make to ensure others are aware there is work in progress.

  4. FridaTveit commented on Mar 27, 2017

    @FridaTveit
    ContributorAuthor

    Fixed in PR #402 :)

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