commit | 950a56825eee4b3f8c775e483a0bca1c0278d136 | [log] [tgz] |
---|---|---|
author | Flavio Lerda <flerda@google.com> | Mon Jun 06 23:35:46 2011 +0100 |
committer | Flavio Lerda <flerda@google.com> | Mon Jun 06 23:37:23 2011 +0100 |
tree | 8787e4cc027f409c7fd6035ceee59538dec3a556 | |
parent | b1d5da9d65a7e8c39d1e27ce01755b083ef1fb40 [diff] |
Prevents NPE when trying to find index of word. Add check for null prefix or text and simply return the prefix was not found if either is null. Change-Id: I81263028a4fcdbf74e6ad0922a170b9a3b83ebae