1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

minor coding style fixes

This commit is contained in:
Thialfihar 2010-07-05 18:06:30 +00:00
parent 8752347b5f
commit 96b93f7327
2 changed files with 8 additions and 5 deletions

View File

@ -1007,10 +1007,10 @@ public class MessageList
if ((destFolderName != null) && (m != null))
{
final Account account = m.message.getFolder().getAccount();
final Account account = m.message.getFolder().getAccount();
account.setLastSelectedFolderName(destFolderName);
switch (requestCode)
{
case ACTIVITY_CHOOSE_FOLDER_MOVE:
@ -1052,7 +1052,8 @@ public class MessageList
{
if (mController.isMoveCapable(holder.message.getFolder().getAccount()) == true && folderName != null)
{
if (K9.FOLDER_NONE.equalsIgnoreCase(folderName)) {
if (K9.FOLDER_NONE.equalsIgnoreCase(folderName))
{
return;
}
mAdapter.removeMessage(holder);

View File

@ -1029,7 +1029,8 @@ public class MessageView extends K9Activity implements OnClickListener
String srcFolder = mMessageReference.folderName;
String dstFolder = mAccount.getArchiveFolderName();
Message messageToMove = mMessage;
if (K9.FOLDER_NONE.equalsIgnoreCase(dstFolder)) {
if (K9.FOLDER_NONE.equalsIgnoreCase(dstFolder))
{
return;
}
showNextMessage();
@ -1053,7 +1054,8 @@ public class MessageView extends K9Activity implements OnClickListener
String srcFolder = mMessageReference.folderName;
String dstFolder = mAccount.getSpamFolderName();
Message messageToMove = mMessage;
if (K9.FOLDER_NONE.equalsIgnoreCase(dstFolder)) {
if (K9.FOLDER_NONE.equalsIgnoreCase(dstFolder))
{
return;
}
showNextMessage();