Loading k9mail-library/src/main/java/com/fsck/k9/mail/FetchProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -47,7 +47,7 @@ public class FetchProfile extends ArrayList<FetchProfile.Item> { /** /** * A sane portion of the entire message, cut off at a provider determined limit. * A sane portion of the entire message, cut off at a provider determined limit. * This should generaly be around 50kB. * This should generally be around 50kB. */ */ BODY_SANE, BODY_SANE, Loading k9mail-library/src/main/java/com/fsck/k9/mail/filter/Base64OutputStream.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -133,14 +133,14 @@ public class Base64OutputStream extends FilterOutputStream { /** /** * Flushes this output stream and forces any buffered output bytes * Flushes this output stream and forces any buffered output bytes * to be written out to the stream. If propogate is true, the wrapped * to be written out to the stream. If propagate is true, the wrapped * stream will also be flushed. * stream will also be flushed. * * * @param propogate boolean flag to indicate whether the wrapped * @param propagate boolean flag to indicate whether the wrapped * OutputStream should also be flushed. * OutputStream should also be flushed. * @throws IOException if an I/O error occurs. * @throws IOException if an I/O error occurs. */ */ private void flush(boolean propogate) throws IOException { private void flush(boolean propagate) throws IOException { int avail = base64.avail(); int avail = base64.avail(); if (avail > 0) { if (avail > 0) { byte[] buf = new byte[avail]; byte[] buf = new byte[avail]; Loading @@ -149,7 +149,7 @@ public class Base64OutputStream extends FilterOutputStream { out.write(buf, 0, c); out.write(buf, 0, c); } } } } if (propogate) { if (propagate) { out.flush(); out.flush(); } } } } Loading k9mail-library/src/main/java/com/fsck/k9/mail/internet/MessageExtractor.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -133,7 +133,7 @@ public class MessageExtractor { } } /** Traverse the MIME tree of a message an extract viewable parts. */ /** Traverse the MIME tree of a message and extract viewable parts. */ public static void findViewablesAndAttachments(Part part, public static void findViewablesAndAttachments(Part part, @Nullable List<Viewable> outputViewableParts, @Nullable List<Part> outputNonViewableParts) @Nullable List<Viewable> outputViewableParts, @Nullable List<Part> outputNonViewableParts) throws MessagingException { throws MessagingException { Loading k9mail-library/src/main/java/com/fsck/k9/mail/store/imap/ImapFolder.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -322,7 +322,7 @@ class ImapFolder extends Folder<ImapMessage> { * </p> * </p> * * * @param messages * @param messages * The messages to copy to the specfied folder. * The messages to copy to the specified folder. * @param folder * @param folder * The name of the target folder. * The name of the target folder. * * Loading k9mail/src/main/java/com/fsck/k9/Account.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1468,7 +1468,7 @@ public class Account implements BaseAccount, StoreConfig { /** /** * Are we storing out localStore on the SD-card instead of the local device * Are we storing out localStore on the SD-card instead of the local device * memory?<br/> * memory?<br/> * Only to be called durin initial account-setup!<br/> * Only to be called during initial account-setup!<br/> * Side-effect: changes {@link #mLocalStorageProviderId}. * Side-effect: changes {@link #mLocalStorageProviderId}. * * * @param newStorageProviderId * @param newStorageProviderId Loading Loading
k9mail-library/src/main/java/com/fsck/k9/mail/FetchProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -47,7 +47,7 @@ public class FetchProfile extends ArrayList<FetchProfile.Item> { /** /** * A sane portion of the entire message, cut off at a provider determined limit. * A sane portion of the entire message, cut off at a provider determined limit. * This should generaly be around 50kB. * This should generally be around 50kB. */ */ BODY_SANE, BODY_SANE, Loading
k9mail-library/src/main/java/com/fsck/k9/mail/filter/Base64OutputStream.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -133,14 +133,14 @@ public class Base64OutputStream extends FilterOutputStream { /** /** * Flushes this output stream and forces any buffered output bytes * Flushes this output stream and forces any buffered output bytes * to be written out to the stream. If propogate is true, the wrapped * to be written out to the stream. If propagate is true, the wrapped * stream will also be flushed. * stream will also be flushed. * * * @param propogate boolean flag to indicate whether the wrapped * @param propagate boolean flag to indicate whether the wrapped * OutputStream should also be flushed. * OutputStream should also be flushed. * @throws IOException if an I/O error occurs. * @throws IOException if an I/O error occurs. */ */ private void flush(boolean propogate) throws IOException { private void flush(boolean propagate) throws IOException { int avail = base64.avail(); int avail = base64.avail(); if (avail > 0) { if (avail > 0) { byte[] buf = new byte[avail]; byte[] buf = new byte[avail]; Loading @@ -149,7 +149,7 @@ public class Base64OutputStream extends FilterOutputStream { out.write(buf, 0, c); out.write(buf, 0, c); } } } } if (propogate) { if (propagate) { out.flush(); out.flush(); } } } } Loading
k9mail-library/src/main/java/com/fsck/k9/mail/internet/MessageExtractor.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -133,7 +133,7 @@ public class MessageExtractor { } } /** Traverse the MIME tree of a message an extract viewable parts. */ /** Traverse the MIME tree of a message and extract viewable parts. */ public static void findViewablesAndAttachments(Part part, public static void findViewablesAndAttachments(Part part, @Nullable List<Viewable> outputViewableParts, @Nullable List<Part> outputNonViewableParts) @Nullable List<Viewable> outputViewableParts, @Nullable List<Part> outputNonViewableParts) throws MessagingException { throws MessagingException { Loading
k9mail-library/src/main/java/com/fsck/k9/mail/store/imap/ImapFolder.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -322,7 +322,7 @@ class ImapFolder extends Folder<ImapMessage> { * </p> * </p> * * * @param messages * @param messages * The messages to copy to the specfied folder. * The messages to copy to the specified folder. * @param folder * @param folder * The name of the target folder. * The name of the target folder. * * Loading
k9mail/src/main/java/com/fsck/k9/Account.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1468,7 +1468,7 @@ public class Account implements BaseAccount, StoreConfig { /** /** * Are we storing out localStore on the SD-card instead of the local device * Are we storing out localStore on the SD-card instead of the local device * memory?<br/> * memory?<br/> * Only to be called durin initial account-setup!<br/> * Only to be called during initial account-setup!<br/> * Side-effect: changes {@link #mLocalStorageProviderId}. * Side-effect: changes {@link #mLocalStorageProviderId}. * * * @param newStorageProviderId * @param newStorageProviderId Loading