1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Minor code cleanup

This commit is contained in:
cketti 2012-01-20 23:32:12 +01:00
parent 7eccc1701d
commit a8f91b0f70

View File

@ -801,11 +801,9 @@ public class MessageList
mController.addListener(mAdapter.mListener);
Account[] accountsWithNotification = null;
Account[] accountsWithNotification;
if (mAccount != null) {
accountsWithNotification = new Account[1];
accountsWithNotification[0] = mAccount;
accountsWithNotification = new Account[] { mAccount };
} else {
Preferences preferences = Preferences.getPreferences(this);
accountsWithNotification = preferences.getAccounts();