-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix bucketing of strings with non-BMP characters #2849
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
Conversation
cd79cd9 to
73801c1
Compare
| "https://github.com/google/guava/issues/5648. Please resolve the TODO in BucketString.hash " + | ||
| "and remove this assertion", | ||
| hashBytes(asBytes), | ||
| MURMUR3.hashString(string, StandardCharsets.UTF_8).asInt()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Looks like indentation is off for this statement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eventually my IDE is not against me on this :)
fixed
|
Looks good to me. I agree with the choice to detect cases where |
|
@findepi, looks like I don't have permission to update the indentation in the test. Could you fix that and I'll merge this? |
73801c1 to
cb53800
Compare
|
Thanks @rdblue |
|
Thanks for fixing this, @findepi! Nice work. |
Fixes #2837