[CODEC-184] NullPointerException in DoubleMetaPhone.isDoubleMetaphoneEqual when using empty strings (original) (raw)
- Type:
Bug
- Status: Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: 1.9
- Fix Version/s: 1.10
- Environment:
Mac OS 10.9, Java 6 or 7
isDoubleMetaphoneEqual does not work with empty strings: The following test throws a NullPointerException:
public void test1() throws Throwable { org.apache.commons.codec.language.DoubleMetaphone var0 = new org.apache.commons.codec.language.DoubleMetaphone(); boolean var3 = var0.isDoubleMetaphoneEqual("", "", false); }
- BugReport.java
10/Apr/14 06:15
0.3 kB