mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 06:08:25 -05:00
clean up a couple null checks
This commit is contained in:
parent
43d9c0a6d4
commit
81f12f0e05
@ -1031,7 +1031,7 @@ public class MimeUtility
|
||||
*/
|
||||
final String originalCharset = getHeaderParameter(part.getContentType(), "charset");
|
||||
String charset = "ASCII"; // No encoding, so use us-ascii, which is the standard.
|
||||
if ((originalCharset != null) && ("0".equals(originalCharset) == false))
|
||||
if ((originalCharset != null) && (!"0".equals(originalCharset)))
|
||||
{
|
||||
/*
|
||||
* See if there is conversion from the MIME charset to the Java one.
|
||||
|
@ -6148,7 +6148,7 @@ public class LocalStore extends Store implements Serializable, LocalStoreMigrati
|
||||
{
|
||||
try
|
||||
{
|
||||
if (mToMeCalculated == false)
|
||||
if (!mToMeCalculated)
|
||||
{
|
||||
for (Address address : getRecipients(RecipientType.TO))
|
||||
{
|
||||
@ -6177,7 +6177,7 @@ public class LocalStore extends Store implements Serializable, LocalStoreMigrati
|
||||
try
|
||||
{
|
||||
|
||||
if (mCcMeCalculated == false)
|
||||
if (!mCcMeCalculated)
|
||||
{
|
||||
for(Address address : getRecipients(RecipientType.CC))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user