1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-28 04:02:19 -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

@ -1052,7 +1052,8 @@ public class MessageList
{ {
if (mController.isMoveCapable(holder.message.getFolder().getAccount()) == true && folderName != null) if (mController.isMoveCapable(holder.message.getFolder().getAccount()) == true && folderName != null)
{ {
if (K9.FOLDER_NONE.equalsIgnoreCase(folderName)) { if (K9.FOLDER_NONE.equalsIgnoreCase(folderName))
{
return; return;
} }
mAdapter.removeMessage(holder); mAdapter.removeMessage(holder);

View File

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