1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Avoid needless nullpointers.

This commit is contained in:
Sander Bogaert 2012-10-13 10:40:13 -04:00
parent bdfc9d6852
commit 235e1f913b

View File

@ -298,7 +298,7 @@ public class LocalSearch implements SearchSpecification {
* @return Name of the search.
*/
public String getName() {
return mName;
return (mName == null ? "" : mName);
}
/**