commit | 39b2769d8f632ff1d3da24c31984625b0dc3ebc6 | [log] [tgz] |
---|---|---|
author | Anthony Lee <anthonylee@google.com> | Tue Feb 04 13:49:37 2014 -0800 |
committer | Martin Hibdon <mhibdon@google.com> | Thu Feb 27 01:10:52 2014 +0000 |
tree | 1ace8fad710869f10264b9bfff17b3a1f08be734 | |
parent | 7a87f1b1ef421b44c411bb41bba8681f5f5e20df [diff] |
NPE fix in NameComparator when null strings are provided by the caller. b/12894779 This is the integration of an Exchange fix from Motorola. As part of this fix, unit tests have been introduced to verify that we are experiencing the correct behavior. Writing these unit tests required some factoring/unwrapped to make the code easier to test. Change-Id: I3fe8278c56fb13e2e43f32c3eeba1cbe01ea3b8b (cherry picked from commit 6fd3b6c35d930ee045cb6cfe3d6770d450b7b523)