Skip to content

Commit 5481ba1

Browse files
authored
Fix some comments (thunderbird#8046)
1 parent 9610a84 commit 5481ba1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

mail/common/src/main/java/com/fsck/k9/mail/filter/Base64.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ void decode(byte[] in, int inPos, int inAvail) {
473473
*
474474
* @param octet
475475
* The value to test
476-
* @return <code>true</code> if the value is defined in the the base 64 alphabet, <code>false</code> otherwise.
476+
* @return <code>true</code> if the value is defined in the base 64 alphabet, <code>false</code> otherwise.
477477
*/
478478
public static boolean isBase64(byte octet) {
479479
return octet == PAD || (octet >= 0 && octet < base64ToInt.length && base64ToInt[octet] != -1);

mail/common/src/main/java/com/fsck/k9/mail/internet/MimeUtility.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static String unfoldAndDecode(String s, Message message) {
5555
* </p>
5656
* <p>
5757
* Note: Parsing header parameters is not a very cheap operation. Prefer using {@code MimeParameterDecoder}
58-
* directly over calling this method multiple times for extracting different parameters from the the same header.
58+
* directly over calling this method multiple times for extracting different parameters from the same header.
5959
* </p>
6060
*
6161
* @param headerBody The header body.

mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/RealImapFolder.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ internal class RealImapFolder(
4141
private var uidValidity: Long? = null
4242

4343
/**
44-
* Specifies whether the folder was opened in read-only or read-write mode based on the the tagged OK response to
44+
* Specifies whether the folder was opened in read-only or read-write mode based on the tagged OK response to
4545
* the SELECT or EXAMINE command (READ-ONLY or READ-WRITE).
4646
*
4747
* Most of the time this will match the [mode] value. But it's possible for the SELECT command to open a folder in

ui-utils/LinearLayoutManager/src/main/java/app/k9mail/ui/utils/linearlayoutmanager/LinearLayoutManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@ View findFirstVisibleChildClosestToEnd(boolean completelyVisible,
18741874
* (reverseLayout ^ stackFromEnd).
18751875
* @param traverseChildrenInReverseOrder True if the children should be traversed in reverse
18761876
* order (stackFromEnd).
1877-
* @return A View that can be used an an anchor View.
1877+
* @return A View that can be used as an anchor View.
18781878
*/
18791879
View findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state,
18801880
boolean layoutFromEnd, boolean traverseChildrenInReverseOrder) {

0 commit comments

Comments
 (0)