1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Fix indentation/code style

This commit is contained in:
cketti 2013-03-06 06:16:07 +01:00
parent 94c1477e93
commit dc8cb3ba17
3 changed files with 16 additions and 11 deletions

View File

@ -40,14 +40,17 @@ public class WelcomeMessage extends K9Activity implements OnClickListener{
@Override @Override
public void onClick(View view) { public void onClick(View view) {
switch (view.getId()) { switch (view.getId()) {
case R.id.next: case R.id.next: {
AccountSetupBasics.actionNewAccount(this); AccountSetupBasics.actionNewAccount(this);
finish(); finish();
break; break;
case R.id.import_settings: }
case R.id.import_settings: {
startActivity(new Intent(getApplicationContext(), Accounts.class) startActivity(new Intent(getApplicationContext(), Accounts.class)
.putExtra(Accounts.EXTRA_IMPORTFIRST, true)); .putExtra(Accounts.EXTRA_IMPORTFIRST, true));
finish(); finish();
break;
}
} }
} }
} }

View File

@ -596,8 +596,10 @@ public class SettingsImporter {
private static boolean isAccountNameUsed(String name, Account[] accounts) { private static boolean isAccountNameUsed(String name, Account[] accounts) {
for (Account account : accounts) { for (Account account : accounts) {
if (account == null) if (account == null) {
continue; continue;
}
if (account.getDescription().equals(name)) { if (account.getDescription().equals(name)) {
return true; return true;
} }