Bug 1393219 - Code clean-up: Style nits, typos and trailing spaces

Tag #1273
This commit is contained in:
Matt A. Tobin 2019-11-10 19:32:24 -05:00 committed by Roy Tam
commit c021f0c983
4 changed files with 107 additions and 109 deletions

View file

@ -95,7 +95,7 @@ nsresult nsMailtoUrl::ParseMailtoUrl(char * searchPart)
nsCString decodedName;
MsgUnescapeString(nsDependentCString(token), 0, decodedName);
if (decodedName.Length() == 0)
if (decodedName.IsEmpty())
break;
switch (NS_ToUpper(decodedName.First()))