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

Handle additional hashing cases #1733

Merged
merged 1 commit into from
Apr 16, 2021
Merged

Conversation

carterkozak
Copy link
Contributor

==COMMIT_MSG==
Handle additional hashing cases
==COMMIT_MSG==

MAP_COLLECTOR,
CONCURRENT_MAP_COLLECTOR,
UNMODIFIABLE_MAP_COLLECTOR,
IMMUTABLE_MAP_COLLECTOR);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe overkill, but do we want to cover StreamEx toImmutableMap & toImmutableSet as well (PreferImmutableStreamExCollections pushes these when using StreamEx)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's punt those cases for now, I think they're less common than the stdlib/guava/cache cases, and I'm less familiar with StreamEx.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. We can also check the JDK 9+ Map.of & Set.of in a follow up .

@schlosna
Copy link
Contributor

@carterkozak defer to you on when you want to merge into the PR branch

@carterkozak carterkozak merged commit 167f645 into ds/Pattern-key Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants