mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Small improvement
This commit is contained in:
@@ -22,6 +22,8 @@ package eu.faircode.email;
|
||||
import android.content.Context;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
@@ -46,7 +48,7 @@ public class UriHelper {
|
||||
return (host != null && _getSuffix(context, host) != null);
|
||||
}
|
||||
|
||||
private static String _getSuffix(Context context, String host) {
|
||||
private static String _getSuffix(Context context, @NonNull String host) {
|
||||
ensureSuffixList(context);
|
||||
|
||||
String h = host.toLowerCase(Locale.ROOT);
|
||||
|
||||
Reference in New Issue
Block a user