mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 06:38:05 -05:00
Avoid needless nullpointers.
This commit is contained in:
parent
bdfc9d6852
commit
235e1f913b
@ -298,7 +298,7 @@ public class LocalSearch implements SearchSpecification {
|
||||
* @return Name of the search.
|
||||
*/
|
||||
public String getName() {
|
||||
return mName;
|
||||
return (mName == null ? "" : mName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user