--- a/src/com/beem/project/beem/service/RosterAdapter.java Mon Aug 10 07:17:15 2009 +0200
+++ b/src/com/beem/project/beem/service/RosterAdapter.java Mon Aug 10 07:42:50 2009 +0200
@@ -128,7 +128,7 @@
*/
@Override
public List<Contact> getContactList() throws RemoteException {
- List<Contact> coList = new ArrayList<Contact> mAdaptee.getEntries().size();
+ List<Contact> coList = new ArrayList<Contact>(mAdaptee.getEntries().size());
for (RosterEntry entry : mAdaptee.getEntries()) {
coList.add(getContactFromRosterEntry(entry));
}
--- a/src/com/beem/project/beem/ui/CreateAccount.java Mon Aug 10 07:17:15 2009 +0200
+++ b/src/com/beem/project/beem/ui/CreateAccount.java Mon Aug 10 07:42:50 2009 +0200
@@ -205,7 +205,7 @@
final String passwordConfirmFielddValue = ((EditText) findViewById(R.id.create_account_confirm_password))
.getText().toString();
- return passwordFieldValue.equals(passwordConfirmFielddValue)
+ return passwordFieldValue.equals(passwordConfirmFielddValue);
}
/**