Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86236904 authored by Philip's avatar Philip Committed by GitHub
Browse files

Merge pull request #2197 from bug-bulletin-forks/fix-typos

Fix a few Javadoc typos
parents da2012be f4b3ef3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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,


+4 −4
Original line number Original line Diff line number Diff line
@@ -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];
@@ -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();
        }
        }
    }
    }
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 {
+1 −1
Original line number Original line Diff line number Diff line
@@ -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.
     *
     *
+1 −1
Original line number Original line Diff line number Diff line
@@ -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