This commit is contained in:
Jesse Vincent 2011-04-12 22:16:22 +10:00
parent c891a5f00b
commit 0174988d27
20 changed files with 243 additions and 246 deletions

View File

@ -644,7 +644,9 @@ public class FolderList extends K9ListActivity {
.markAllMessagesRead(mAccount, mSelectedContextFolder.name);
mSelectedContextFolder.unreadMessageCount = 0;
mHandler.dataChanged();
} catch (Exception e) { /* Ignore */ }
} catch (Exception e) {
/* Ignore */
}
}
@Override

View File

@ -20,8 +20,7 @@ package com.fsck.k9.mail.filter;
* This code was copied from the Apache Commons project.
* The unnecessary parts have been left out.
*/
public class Hex
{
public class Hex {
/**
* Used building output as Hex
*/

View File

@ -91,8 +91,7 @@ public class Pop3Store extends Store {
try {
int userIndex = 0, passwordIndex = 1;
String[] userInfoParts = uri.getUserInfo().split(":");
if (userInfoParts.length > 2)
{
if (userInfoParts.length > 2) {
userIndex++;
passwordIndex++;
useCramMd5 = true;
@ -224,8 +223,7 @@ public class Pop3Store extends Store {
}
}
if (useCramMd5)
{
if (useCramMd5) {
try {
String b64Nonce = executeSimpleCommand("AUTH CRAM-MD5").replace("+ ", "");
@ -235,9 +233,7 @@ public class Pop3Store extends Store {
} catch (MessagingException me) {
throw new AuthenticationFailedException(null, me);
}
}
else
{
} else {
try {
executeSimpleCommand("USER " + mUsername);
executeSimpleCommand("PASS " + mPassword, true);