From 763e2853d76b871a1c2e83353f983e6ca10557fd Mon Sep 17 00:00:00 2001 From: cketti Date: Tue, 24 Jul 2012 00:20:06 +0200 Subject: [PATCH] Whitespace fixes --- src/com/fsck/k9/activity/MessageList.java | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index b1b85c577..a8a27bc71 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -695,8 +695,8 @@ public class MessageList extends K9ListActivity implements // Correcting for screen rotation when in ActionMode mSelectedCount = getSelectionFromCheckboxes().size(); if (mSelectedCount > 0) { - mActionMode = MessageList.this.startActionMode(mActionModeCallback); - mActionMode.setTitle(mSelectedCount+" "+getString(R.string.actionbar_selected)); + mActionMode = MessageList.this.startActionMode(mActionModeCallback); + mActionMode.setTitle(mSelectedCount + " " + getString(R.string.actionbar_selected)); } } @@ -1408,10 +1408,10 @@ public class MessageList extends K9ListActivity implements } private void onToggleRead(final List holders) { - LocalMessage message; - Folder folder; - Account account; - String folderName; + LocalMessage message; + Folder folder; + Account account; + String folderName; int i = 0; for (final Iterator iterator = holders.iterator(); iterator.hasNext(); i++) { @@ -2713,10 +2713,13 @@ public class MessageList extends K9ListActivity implements if (mSelectedCount > 1) { toggleMessageSelect(holder); } else { - if( holder.selected ) mActionMode.finish(); - else toggleMessageSelect(holder); + if (holder.selected) { + mActionMode.finish(); + } else { + toggleMessageSelect(holder); + } } - }else{ + } else { mActionMode = MessageList.this.startActionMode(mActionModeCallback); toggleMessageSelect(holder); }