mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
astyle
This commit is contained in:
parent
c891a5f00b
commit
0174988d27
@ -644,7 +644,9 @@ public class FolderList extends K9ListActivity {
|
|||||||
.markAllMessagesRead(mAccount, mSelectedContextFolder.name);
|
.markAllMessagesRead(mAccount, mSelectedContextFolder.name);
|
||||||
mSelectedContextFolder.unreadMessageCount = 0;
|
mSelectedContextFolder.unreadMessageCount = 0;
|
||||||
mHandler.dataChanged();
|
mHandler.dataChanged();
|
||||||
} catch (Exception e) { /* Ignore */ }
|
} catch (Exception e) {
|
||||||
|
/* Ignore */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -20,8 +20,7 @@ package com.fsck.k9.mail.filter;
|
|||||||
* This code was copied from the Apache Commons project.
|
* This code was copied from the Apache Commons project.
|
||||||
* The unnecessary parts have been left out.
|
* The unnecessary parts have been left out.
|
||||||
*/
|
*/
|
||||||
public class Hex
|
public class Hex {
|
||||||
{
|
|
||||||
/**
|
/**
|
||||||
* Used building output as Hex
|
* Used building output as Hex
|
||||||
*/
|
*/
|
||||||
|
@ -91,8 +91,7 @@ public class Pop3Store extends Store {
|
|||||||
try {
|
try {
|
||||||
int userIndex = 0, passwordIndex = 1;
|
int userIndex = 0, passwordIndex = 1;
|
||||||
String[] userInfoParts = uri.getUserInfo().split(":");
|
String[] userInfoParts = uri.getUserInfo().split(":");
|
||||||
if (userInfoParts.length > 2)
|
if (userInfoParts.length > 2) {
|
||||||
{
|
|
||||||
userIndex++;
|
userIndex++;
|
||||||
passwordIndex++;
|
passwordIndex++;
|
||||||
useCramMd5 = true;
|
useCramMd5 = true;
|
||||||
@ -224,8 +223,7 @@ public class Pop3Store extends Store {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (useCramMd5)
|
if (useCramMd5) {
|
||||||
{
|
|
||||||
try {
|
try {
|
||||||
String b64Nonce = executeSimpleCommand("AUTH CRAM-MD5").replace("+ ", "");
|
String b64Nonce = executeSimpleCommand("AUTH CRAM-MD5").replace("+ ", "");
|
||||||
|
|
||||||
@ -235,9 +233,7 @@ public class Pop3Store extends Store {
|
|||||||
} catch (MessagingException me) {
|
} catch (MessagingException me) {
|
||||||
throw new AuthenticationFailedException(null, me);
|
throw new AuthenticationFailedException(null, me);
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
try {
|
try {
|
||||||
executeSimpleCommand("USER " + mUsername);
|
executeSimpleCommand("USER " + mUsername);
|
||||||
executeSimpleCommand("PASS " + mPassword, true);
|
executeSimpleCommand("PASS " + mPassword, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user