1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-07 10:40:11 -05:00

Only include name with an address if it's non-empty.

This commit is contained in:
Andrew Chen 2011-02-03 03:35:50 +00:00
parent f75c107311
commit 5fa757bba1

View File

@ -203,7 +203,7 @@ public class Address
@Override @Override
public String toString() public String toString()
{ {
if (mPersonal != null) if (mPersonal != null && !mPersonal.equals(""))
{ {
return Utility.quoteAtoms(mPersonal) + " <" + mAddress + ">"; return Utility.quoteAtoms(mPersonal) + " <" + mAddress + ">";
} }