You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2014/11/10 04:12:34 UTC

[jira] [Closed] (CODEC-184) NullPointerException in DoubleMetaPhone.isDoubleMetaphoneEqual when using empty strings

     [ https://issues.apache.org/jira/browse/CODEC-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory closed CODEC-184.
------------------------------

We released 1.10 today.

> NullPointerException in DoubleMetaPhone.isDoubleMetaphoneEqual when using empty strings
> ---------------------------------------------------------------------------------------
>
>                 Key: CODEC-184
>                 URL: https://issues.apache.org/jira/browse/CODEC-184
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.9
>         Environment: Mac OS 10.9, Java 6 or 7
>            Reporter: Cyrille Artho
>            Assignee: Gary Gregory
>             Fix For: 1.10
>
>         Attachments: BugReport.java
>
>
> {{isDoubleMetaphoneEqual}} does not work with empty strings: The following test throws a {{NullPointerException}}:
> {code:java}
>   public void test1() throws Throwable {
>     org.apache.commons.codec.language.DoubleMetaphone var0 = new org.apache.commons.codec.language.DoubleMetaphone();
>     boolean var3 = var0.isDoubleMetaphoneEqual("", "", false);
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)