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

remove redundant ;s

This commit is contained in:
Jesse Vincent 2010-12-01 03:07:28 +00:00
parent 75aa644a23
commit 78c900b5fe
11 changed files with 18 additions and 17 deletions

View File

@ -153,17 +153,17 @@ public class Account implements BaseAccount
public enum FolderMode public enum FolderMode
{ {
NONE, ALL, FIRST_CLASS, FIRST_AND_SECOND_CLASS, NOT_SECOND_CLASS; NONE, ALL, FIRST_CLASS, FIRST_AND_SECOND_CLASS, NOT_SECOND_CLASS
} }
public enum HideButtons public enum HideButtons
{ {
NEVER, ALWAYS, KEYBOARD_AVAILABLE; NEVER, ALWAYS, KEYBOARD_AVAILABLE
} }
public enum ShowPictures public enum ShowPictures
{ {
NEVER, ALWAYS, ONLY_FROM_CONTACTS; NEVER, ALWAYS, ONLY_FROM_CONTACTS
} }
public enum Searchable public enum Searchable

View File

@ -51,7 +51,7 @@ public class EmailAddressAdapter extends ResourceCursorAdapter
public final String convertToString(final Cursor cursor) public final String convertToString(final Cursor cursor)
{ {
final String name = mContacts.getName(cursor); final String name = mContacts.getName(cursor);
final String address = mContacts.getEmail(cursor);; final String address = mContacts.getEmail(cursor);
return new Address(address, name).toString(); return new Address(address, name).toString();
} }

View File

@ -118,7 +118,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
stats.size = newSize; stats.size = newSize;
} }
String toastText = getString(R.string.account_size_changed, account.getDescription(), String toastText = getString(R.string.account_size_changed, account.getDescription(),
SizeFormatter.formatSize(getApplication(), oldSize), SizeFormatter.formatSize(getApplication(), newSize));; SizeFormatter.formatSize(getApplication(), oldSize), SizeFormatter.formatSize(getApplication(), newSize));
Toast toast = Toast.makeText(getApplication(), toastText, Toast.LENGTH_LONG); Toast toast = Toast.makeText(getApplication(), toastText, Toast.LENGTH_LONG);
toast.show(); toast.show();
@ -856,7 +856,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
catch (PackageManager.NameNotFoundException e) catch (PackageManager.NameNotFoundException e)
{ {
//Log.e(TAG, "Package name not found", e); //Log.e(TAG, "Package name not found", e);
}; }
return version; return version;
} }

View File

@ -1411,7 +1411,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
private void onIdentityChosen(Intent intent) private void onIdentityChosen(Intent intent)
{ {
Bundle bundle = intent.getExtras();; Bundle bundle = intent.getExtras();
switchToIdentity((Identity)bundle.getSerializable(ChooseIdentity.EXTRA_IDENTITY)); switchToIdentity((Identity)bundle.getSerializable(ChooseIdentity.EXTRA_IDENTITY));
} }

View File

@ -5,4 +5,4 @@ import com.fsck.k9.activity.MessageList;
public class Search extends MessageList public class Search extends MessageList
{ {
}; }

View File

@ -575,7 +575,7 @@ public class AccountSettings extends K9PreferenceActivity
List<? extends Folder> folders = new LinkedList<LocalFolder>();; List<? extends Folder> folders = new LinkedList<LocalFolder>();
try try
{ {
folders = mAccount.getLocalStore().getPersonalNamespaces(false); folders = mAccount.getLocalStore().getPersonalNamespaces(false);

View File

@ -158,7 +158,7 @@ public class Prefs extends K9PreferenceActivity
for (int i = 0 ; i < formats.length; i++) for (int i = 0 ; i < formats.length; i++)
{ {
String format = formats[i]; String format = formats[i];
entries[i] = DateFormatter.getSampleDate(this, format);; entries[i] = DateFormatter.getSampleDate(this, format);
values[i] = format; values[i] = format;
} }
initListPreference(mDateFormat, DateFormatter.getFormat(this), entries, values); initListPreference(mDateFormat, DateFormatter.getFormat(this), entries, values);

View File

@ -171,7 +171,8 @@ public class MessagingController implements Runnable
{ {
return defaultAscending; return defaultAscending;
} }
}; }
private SORT_TYPE sortType = SORT_TYPE.SORT_DATE; private SORT_TYPE sortType = SORT_TYPE.SORT_DATE;
private MessagingListener checkMailListener = null; private MessagingListener checkMailListener = null;
@ -5102,7 +5103,7 @@ public class MessagingController implements Runnable
if (K9.DEBUG) if (K9.DEBUG)
Log.i(K9.LOG_TAG, "MessagingController.messagesArrivedLatch released"); Log.i(K9.LOG_TAG, "MessagingController.messagesArrivedLatch released");
} }
enum MemorizingState { STARTED, FINISHED, FAILED }; enum MemorizingState { STARTED, FINISHED, FAILED }
class Memory class Memory
{ {

View File

@ -23,7 +23,7 @@ public abstract class Folder
// NONE is obsolete, it will be translated to NO_CLASS for display and to INHERITED for sync and push // NONE is obsolete, it will be translated to NO_CLASS for display and to INHERITED for sync and push
public enum FolderClass public enum FolderClass
{ {
NONE, NO_CLASS, INHERITED, FIRST_CLASS, SECOND_CLASS; NONE, NO_CLASS, INHERITED, FIRST_CLASS, SECOND_CLASS
} }
public enum FolderType public enum FolderType
@ -111,9 +111,9 @@ public abstract class Folder
public abstract void appendMessages(Message[] messages) throws MessagingException; public abstract void appendMessages(Message[] messages) throws MessagingException;
public void copyMessages(Message[] msgs, Folder folder) throws MessagingException {} ; public void copyMessages(Message[] msgs, Folder folder) throws MessagingException {}
public void moveMessages(Message[] msgs, Folder folder) throws MessagingException {} ; public void moveMessages(Message[] msgs, Folder folder) throws MessagingException {}
public void delete(Message[] msgs, String trashFolderName) throws MessagingException public void delete(Message[] msgs, String trashFolderName) throws MessagingException
{ {

View File

@ -152,7 +152,7 @@ public abstract class Message implements Part, Body
return getContentType().startsWith(mimeType); return getContentType().startsWith(mimeType);
} }
public void delete(String trashFolderName) throws MessagingException {} ; public void delete(String trashFolderName) throws MessagingException {}
/* /*
* TODO Refactor Flags at some point to be able to store user defined flags. * TODO Refactor Flags at some point to be able to store user defined flags.

View File

@ -64,7 +64,7 @@ public class ImapStore extends Store
public static final int CONNECTION_SECURITY_SSL_REQUIRED = 3; public static final int CONNECTION_SECURITY_SSL_REQUIRED = 3;
public static final int CONNECTION_SECURITY_SSL_OPTIONAL = 4; public static final int CONNECTION_SECURITY_SSL_OPTIONAL = 4;
private enum AuthType { PLAIN, CRAM_MD5 }; private enum AuthType { PLAIN, CRAM_MD5 }
private static final int IDLE_READ_TIMEOUT_INCREMENT = 5 * 60 * 1000; private static final int IDLE_READ_TIMEOUT_INCREMENT = 5 * 60 * 1000;
private static final int IDLE_FAILURE_COUNT_LIMIT = 10; private static final int IDLE_FAILURE_COUNT_LIMIT = 10;