mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -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.
|
* @return Name of the search.
|
||||||
*/
|
*/
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return mName;
|
return (mName == null ? "" : mName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user