fixed two variable names

This commit is contained in:
Thialfihar 2010-07-18 07:12:41 +00:00
parent 92059d6d3b
commit c3600ee679

View File

@ -75,8 +75,8 @@ public class MailListActivity extends ListActivity {
}
}
private Vector<Conversation> mconversations;
private Vector<Message> mmessages;
private Vector<Conversation> mConversations;
private Vector<Message> mMessages;
@Override
protected void onCreate(Bundle savedInstanceState) {
@ -84,8 +84,8 @@ public class MailListActivity extends ListActivity {
mInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
mconversations = new Vector<Conversation>();
mmessages = new Vector<Message>();
mConversations = new Vector<Conversation>();
mMessages = new Vector<Message>();
String account = getIntent().getExtras().getString(Apg.EXTRA_ACCOUNT);
// TODO: what if account is null?
@ -140,10 +140,10 @@ public class MailListActivity extends ListActivity {
data, signedOnly);
messages.add(message);
mmessages.add(message);
mMessages.add(message);
}
conversation.messages = messages;
mconversations.add(conversation);
mConversations.add(conversation);
}
setListAdapter(new MailboxAdapter());
@ -176,17 +176,17 @@ public class MailListActivity extends ListActivity {
@Override
public int getCount() {
return mmessages.size();
return mMessages.size();
}
@Override
public Object getItem(int position) {
return mmessages.get(position);
return mMessages.get(position);
}
@Override
public long getItemId(int position) {
return mmessages.get(position).id;
return mMessages.get(position).id;
}
@Override