mirror of https://github.com/moparisthebest/k-9
astyle
This commit is contained in:
parent
c891a5f00b
commit
0174988d27
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue