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