Avoid needless nullpointers.

This commit is contained in:
Sander Bogaert 2012-10-13 10:40:13 -04:00
parent bdfc9d6852
commit 235e1f913b
1 changed files with 1 additions and 1 deletions

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);
}
/**