1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-16 06:25:06 -05:00

Rename some one-letter variables.

This commit is contained in:
Andrew Chen 2012-09-09 15:11:13 -07:00
parent 3e261568ae
commit e4d2830ec7

View File

@ -1446,15 +1446,15 @@ public class MessageList extends K9ListActivity implements OnItemClickListener,
int i = 0; int i = 0;
for (final Iterator<MessageInfoHolder> iterator = holders.iterator(); iterator.hasNext(); i++) { for (final Iterator<MessageInfoHolder> iterator = holders.iterator(); iterator.hasNext(); i++) {
final MessageInfoHolder h = iterator.next(); final MessageInfoHolder messageInfo = iterator.next();
message = h.message; message = messageInfo.message;
folder = message.getFolder(); folder = message.getFolder();
account = folder.getAccount(); account = folder.getAccount();
folderName = message.getFolder().getName(); folderName = message.getFolder().getName();
mController.setFlag(account, folderName, new Message[]{message}, Flag.SEEN, !h.read); mController.setFlag(account, folderName, new Message[]{message}, Flag.SEEN, !messageInfo.read);
h.read = !h.read; messageInfo.read = !messageInfo.read;
mAdapter.sortMessages(); mAdapter.sortMessages();
} }
} }
@ -1467,15 +1467,15 @@ public class MessageList extends K9ListActivity implements OnItemClickListener,
int i = 0; int i = 0;
for (final Iterator<MessageInfoHolder> iterator = holders.iterator(); iterator.hasNext(); i++) { for (final Iterator<MessageInfoHolder> iterator = holders.iterator(); iterator.hasNext(); i++) {
final MessageInfoHolder h = iterator.next(); final MessageInfoHolder messageInfo = iterator.next();
message = h.message; message = messageInfo.message;
folder = message.getFolder(); folder = message.getFolder();
account = folder.getAccount(); account = folder.getAccount();
folderName = message.getFolder().getName(); folderName = message.getFolder().getName();
mController.setFlag(account, folderName, new Message[]{message}, Flag.FLAGGED, !h.flagged); mController.setFlag(account, folderName, new Message[]{message}, Flag.FLAGGED, !messageInfo.flagged);
h.flagged = !h.flagged; messageInfo.flagged = !messageInfo.flagged;
mAdapter.sortMessages(); mAdapter.sortMessages();
} }
} }