You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex Herbert (Jira)" <ji...@apache.org> on 2019/12/30 14:02:00 UTC

[jira] [Commented] (CODEC-276) Reliance on default encoding in MurmurHash2 and MurmurHash3

    [ https://issues.apache.org/jira/browse/CODEC-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005337#comment-17005337 ] 

Alex Herbert commented on CODEC-276:
------------------------------------

Hi Gary,

Perhaps you missed my reply to the commit mail. The method javadoc for these still states that it uses the default encoding. This should be updated to state it now uses UTF8 since 1.14.

Alex

> Reliance on default encoding in MurmurHash2 and MurmurHash3
> -----------------------------------------------------------
>
>                 Key: CODEC-276
>                 URL: https://issues.apache.org/jira/browse/CODEC-276
>             Project: Commons Codec
>          Issue Type: Improvement
>            Reporter: Gary D. Gregory
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 1.14
>
>
> Found reliance on default encoding by callingĀ {{String.getBytes()}} in:
>  - org.apache.commons.codec.digest.MurmurHash2.hash32(String)
>  - org.apache.commons.codec.digest.MurmurHash3.hash128(String)
>  - org.apache.commons.codec.digest.MurmurHash3.hash32(String)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)