From 220e55603df3df814917f6833a1349f71ee92405 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 26 Sep 2011 21:03:13 -0700 Subject: [PATCH] Spelling corrections --- src/com/fsck/k9/Account.java | 2 +- src/com/fsck/k9/K9.java | 2 +- src/com/fsck/k9/activity/MessageList.java | 4 ++-- src/com/fsck/k9/controller/MessagingController.java | 2 +- src/com/fsck/k9/helper/AutoSyncHelper.java | 2 +- src/com/fsck/k9/mail/store/ImapResponseParser.java | 2 +- src/com/fsck/k9/mail/store/LockableDatabase.java | 2 +- src/com/fsck/k9/mail/store/Pop3Store.java | 2 +- src/com/fsck/k9/mail/store/WebDavStore.java | 2 +- src/com/fsck/k9/provider/MessageProvider.java | 2 +- src/com/fsck/k9/view/MessageWebView.java | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/com/fsck/k9/Account.java b/src/com/fsck/k9/Account.java index fb9b93869..7c04d9985 100644 --- a/src/com/fsck/k9/Account.java +++ b/src/com/fsck/k9/Account.java @@ -1053,7 +1053,7 @@ public class Account implements BaseAccount { } // It'd be great if this actually went into the store implementation - // to get this, but that's expensive and not easilly accessible + // to get this, but that's expensive and not easily accessible // during initialization public boolean isSearchByDateCapable() { if (getStoreUri().startsWith("imap")) { diff --git a/src/com/fsck/k9/K9.java b/src/com/fsck/k9/K9.java index 60314d288..a31d7f89a 100644 --- a/src/com/fsck/k9/K9.java +++ b/src/com/fsck/k9/K9.java @@ -575,7 +575,7 @@ public class K9 extends Application { @Override public void searchStats(final AccountStats stats) { - // let observers know a fetch occured + // let observers know a fetch occurred K9.this.sendBroadcast(new Intent(K9.Intents.EmailReceived.ACTION_REFRESH_OBSERVER, null)); } diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 28bc6f5c9..5b41c8b28 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -847,7 +847,7 @@ public class MessageList /* (non-Javadoc) * - * Method overriden for proper typing within this class (the return type is + * Method overridden for proper typing within this class (the return type is * more specific than the super implementation) * * @see android.app.Activity#onRetainNonConfigurationInstance() @@ -863,7 +863,7 @@ public class MessageList /* * (non-Javadoc) * - * Method overriden for proper typing within this class (the return type is + * Method overridden for proper typing within this class (the return type is * more specific than the super implementation) * * @see android.app.Activity#getLastNonConfigurationInstance() diff --git a/src/com/fsck/k9/controller/MessagingController.java b/src/com/fsck/k9/controller/MessagingController.java index b51f83dc7..8b188c298 100644 --- a/src/com/fsck/k9/controller/MessagingController.java +++ b/src/com/fsck/k9/controller/MessagingController.java @@ -1741,7 +1741,7 @@ public class MessagingController implements Runnable { notifyAccount(mApplication, account, message, unreadBeforeStart, newMessages); } - }//for large messsages + }//for large messages if (K9.DEBUG) Log.d(K9.LOG_TAG, "SYNC: Done fetching large messages for folder " + folder); diff --git a/src/com/fsck/k9/helper/AutoSyncHelper.java b/src/com/fsck/k9/helper/AutoSyncHelper.java index 84b728d5d..23e6b5907 100644 --- a/src/com/fsck/k9/helper/AutoSyncHelper.java +++ b/src/com/fsck/k9/helper/AutoSyncHelper.java @@ -12,7 +12,7 @@ public class AutoSyncHelper { * False, if we never tried to load the class for this SDK version. * True, otherwise. * - * Note: if sAutoSync is null and sChecked is true, then an error occured + * Note: if sAutoSync is null and sChecked is true, then an error occurred * while loading the class for the SDK version we're running on. */ private static boolean sChecked = false; diff --git a/src/com/fsck/k9/mail/store/ImapResponseParser.java b/src/com/fsck/k9/mail/store/ImapResponseParser.java index f71951ddf..96a49a859 100644 --- a/src/com/fsck/k9/mail/store/ImapResponseParser.java +++ b/src/com/fsck/k9/mail/store/ImapResponseParser.java @@ -205,7 +205,7 @@ public class ImapResponseParser { ch == '[' || ch == ']' || // docs claim that flags are \ atom but atom isn't supposed to // contain - // * and some falgs contain * + // * and some flags contain * // ch == '%' || ch == '*' || // ch == '%' || // TODO probably should not allow \ and should recognize diff --git a/src/com/fsck/k9/mail/store/LockableDatabase.java b/src/com/fsck/k9/mail/store/LockableDatabase.java index 4662dc708..e39d56211 100644 --- a/src/com/fsck/k9/mail/store/LockableDatabase.java +++ b/src/com/fsck/k9/mail/store/LockableDatabase.java @@ -399,7 +399,7 @@ public class LockableDatabase { databaseFile = storageManager.getDatabase(uUid, providerId); databaseParentDir = databaseFile.getParentFile(); if (databaseParentDir.isFile()) { - // should be safe to inconditionally delete clashing file: user is not supposed to mess with our directory + // should be safe to unconditionally delete clashing file: user is not supposed to mess with our directory databaseParentDir.delete(); } if (!databaseParentDir.exists()) { diff --git a/src/com/fsck/k9/mail/store/Pop3Store.java b/src/com/fsck/k9/mail/store/Pop3Store.java index e0ffa4bd9..93e866731 100644 --- a/src/com/fsck/k9/mail/store/Pop3Store.java +++ b/src/com/fsck/k9/mail/store/Pop3Store.java @@ -981,7 +981,7 @@ public class Pop3Store extends Store { // } // catch (MessagingException me) // { -// Log.w(K9.LOG_TAG, "Could not delete non-existant message", me); +// Log.w(K9.LOG_TAG, "Could not delete non-existent message", me); // } } } diff --git a/src/com/fsck/k9/mail/store/WebDavStore.java b/src/com/fsck/k9/mail/store/WebDavStore.java index 67c909e8d..be443f9b3 100644 --- a/src/com/fsck/k9/mail/store/WebDavStore.java +++ b/src/com/fsck/k9/mail/store/WebDavStore.java @@ -2135,7 +2135,7 @@ public class WebDavStore extends Store { } else { // We don't actually want to have null values in our hashmap, // as it causes the calling code to crash with an NPE as it - // does a lookup in the maap. + // does a lookup in the map. uidToRead.put(uid, false); } } diff --git a/src/com/fsck/k9/provider/MessageProvider.java b/src/com/fsck/k9/provider/MessageProvider.java index b4f478206..f2c1ec693 100644 --- a/src/com/fsck/k9/provider/MessageProvider.java +++ b/src/com/fsck/k9/provider/MessageProvider.java @@ -893,7 +893,7 @@ public class MessageProvider extends ContentProvider { Log.v(K9.LOG_TAG, "MessageProvider/delete: " + uri); } - // Nota : can only delete a message + // Note: can only delete a message List segments = null; int accountId = -1; diff --git a/src/com/fsck/k9/view/MessageWebView.java b/src/com/fsck/k9/view/MessageWebView.java index d5a45a247..9871e503e 100644 --- a/src/com/fsck/k9/view/MessageWebView.java +++ b/src/com/fsck/k9/view/MessageWebView.java @@ -95,7 +95,7 @@ public class MessageWebView extends WebView { webSettings.setTextSize(K9.getFontSizes().getMessageViewContent()); - // Disable network images by default. This is overriden by preferences. + // Disable network images by default. This is overridden by preferences. blockNetworkData(true); }