Skip to content

Commit c0e0798

Browse files
committed
chore: add appropriate @nullable (thanks rafaeltonholo)
1 parent 86b501c commit c0e0798

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mail/common/src/main/java/com/fsck/k9/mail/helper/Rfc822Token.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ public boolean equals(@Nullable Object o) {
204204
stringEquals(mComment, other.mComment));
205205
}
206206

207-
public static String withULabelDomain(final String address) {
207+
@Nullable
208+
public static String withULabelDomain(@Nullable final String address) {
208209
if (address == null) return null;
209210
int at = address.lastIndexOf('@');
210211
if (at < 0 || at == address.length()-1)

0 commit comments

Comments
 (0)