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

HashArrayMappedTrie.equals() fixed #1815 #1816

Merged
merged 1 commit into from
Jan 14, 2017

Conversation

ruslansennov
Copy link
Member

Different keys with same hashCodes can come in random order, so we can't use Collections.areEqual(this, that) here

@ruslansennov ruslansennov added this to the 2.1.0 milestone Jan 14, 2017
@codecov-io
Copy link

codecov-io commented Jan 14, 2017

Current coverage is 97.09% (diff: 100%)

Merging #1816 into master will increase coverage by 0.01%

@@             master      #1816   diff @@
==========================================
  Files            87         87          
  Lines         11260      11269     +9   
  Methods           0          0          
  Messages          0          0          
  Branches       1869       1871     +2   
==========================================
+ Hits          10932      10942    +10   
  Misses          205        205          
+ Partials        123        122     -1   

Powered by Codecov. Last update d280cdc...1fc988b

@ruslansennov ruslansennov merged commit 842e5f0 into vavr-io:master Jan 14, 2017
@ruslansennov ruslansennov deleted the iss1815 branch January 14, 2017 07:59
@danieldietrich
Copy link
Contributor

Nice finding, thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants