1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -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,24 +150,22 @@ public class MessageView extends K9Activity implements OnClickListener
@Override
public void onUnmount(String providerId)
{
if (providerId.equals(mAccount.getLocalStorageProviderId()))
if (!providerId.equals(mAccount.getLocalStorageProviderId()))
{
runOnUiThread(new Runnable()
{
@Override
public void run()
{
onAccountUnavailable();
}
});
return;
}
runOnUiThread(new Runnable()
{
@Override
public void run()
{
onAccountUnavailable();
}
});
}
@Override
public void onMount(String providerId)
{
// no-op
}
public void onMount(String providerId) {} // 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,
* 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.
*