1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Remove redundant "return" statements from the end of void methods (with

help from intellij)
This commit is contained in:
Jesse Vincent 2010-08-29 23:39:45 +00:00
parent 4f0bce1569
commit 7d2804549e
5 changed files with 1 additions and 7 deletions

View File

@ -425,12 +425,10 @@ public class MessageList
// In multiselect mode make sure that clicking on the item results // In multiselect mode make sure that clicking on the item results
// in toggling the 'selected' checkbox. // in toggling the 'selected' checkbox.
setSelected(message, !message.selected); setSelected(message, !message.selected);
return;
} }
else else
{ {
onOpenMessage(message); onOpenMessage(message);
return;
} }
} }

View File

@ -271,8 +271,7 @@ public class AccountSetupBasics extends K9Activity
* manual setup. * manual setup.
*/ */
onManualSetup(); onManualSetup();
return; }
}
} }
private void onNext() private void onNext()

View File

@ -3220,7 +3220,6 @@ public class ImapStore extends Store
catch (Exception e) catch (Exception e)
{ {
Log.e(K9.LOG_TAG, "Cannot remove EXPUNGEd messages", e); Log.e(K9.LOG_TAG, "Cannot remove EXPUNGEd messages", e);
return;
} }
} }

View File

@ -4665,7 +4665,6 @@ public class LocalStore extends Store implements Serializable
if (mMessageId != null) super.setMessageId(mMessageId); if (mMessageId != null) super.setMessageId(mMessageId);
mMessageDirty = false; mMessageDirty = false;
return;
} }
public String getPreview() public String getPreview()

View File

@ -2062,7 +2062,6 @@ public class WebDavStore extends Store
{ {
Log.e(K9.LOG_TAG, "Unimplemented method setFlags(Flag[], boolean) breaks markAllMessagesAsRead and EmptyTrash"); Log.e(K9.LOG_TAG, "Unimplemented method setFlags(Flag[], boolean) breaks markAllMessagesAsRead and EmptyTrash");
// Try to make this efficient by not retrieving all of the messages // Try to make this efficient by not retrieving all of the messages
return;
} }
} }