Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

NullPointerException in CollectionContains #283

@t92549

Description

@t92549

If input is null, this will error rather than return false:

public boolean test(final Collection<?> input) {
return input.contains(value);

Metadata

Metadata

Assignees

Labels

bugConfirmed or suspected buggood first issueSmall, lower complexity and doesn't require pre-existing Koryphe knowledge

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions