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
public String toString()
{
if (mPersonal != null)
if (mPersonal != null && !mPersonal.equals(""))
{
return Utility.quoteAtoms(mPersonal) + " <" + mAddress + ">";
}