Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QList doesn't accept null args #567

Closed
TuomasKiviaho opened this issue Nov 20, 2013 · 2 comments
Closed

QList doesn't accept null args #567

TuomasKiviaho opened this issue Nov 20, 2013 · 2 comments
Milestone

Comments

@TuomasKiviaho
Copy link
Contributor

@TuomasKiviaho TuomasKiviaho commented Nov 20, 2013

QList doesn't allow nulls due to usage of ImmutableList. I had achieved the immutability through the following snippet. This might come up with GroupBy.group(a,b,...) when using multiple keys of which some yield to null.

Below is a replacement to ImmutableList that seems to bee a bit too restrictive.

    public List<?> newInstance(Object... args) {
        return Collections.unmodifiableList(Arrays.asList(args));
    }
timowest added a commit that referenced this issue Nov 20, 2013
@timowest
Copy link
Member

@timowest timowest commented Nov 20, 2013

Fixed

@timowest
Copy link
Member

@timowest timowest commented Dec 12, 2013

Released in 3.3.0.BETA2

@timowest timowest closed this Dec 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants