1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 09:08:49 -05:00

minor code cleanup

This commit is contained in:
Jesse Vincent 2011-01-06 16:55:34 +00:00
parent de806f7715
commit 9c847d3e9d
2 changed files with 12 additions and 14 deletions

View File

@ -150,8 +150,10 @@ public class MessageView extends K9Activity implements OnClickListener
@Override @Override
public void onUnmount(String providerId) public void onUnmount(String providerId)
{ {
if (providerId.equals(mAccount.getLocalStorageProviderId())) if (!providerId.equals(mAccount.getLocalStorageProviderId()))
{ {
return;
}
runOnUiThread(new Runnable() runOnUiThread(new Runnable()
{ {
@Override @Override
@ -161,13 +163,9 @@ public class MessageView extends K9Activity implements OnClickListener
} }
}); });
} }
}
@Override @Override
public void onMount(String providerId) public void onMount(String providerId) {} // no-op
{
// no-op
}
} }
/** /**

View File

@ -555,7 +555,7 @@ public class ImapStore extends Store
* *
* "A quoted string is a sequence of zero or more 7-bit characters, * "A quoted string is a sequence of zero or more 7-bit characters,
* excluding CR and LF, with double quote (<">) characters at each * excluding CR and LF, with double quote (<">) characters at each
* end." - § 4.3, RFC 3501 * end." - Section 4.3, RFC 3501
* *
* Double quotes and backslash are escaped by prepending a backslash. * Double quotes and backslash are escaped by prepending a backslash.
* *