Refactoring

This commit is contained in:
M66B
2020-04-16 18:28:12 +02:00
parent 6412c518cd
commit 3932d0fa65
3 changed files with 25 additions and 54 deletions

View File

@@ -3818,7 +3818,7 @@ public class FragmentCompose extends FragmentBase {
for (InternetAddress address : ato)
address.validate();
if (lookup_mx)
DnsHelper.lookupMx(context, ato);
DnsHelper.checkMx(context, ato);
}
} catch (AddressException ex) {
throw new AddressException(context.getString(R.string.title_address_parse_error,
@@ -3832,7 +3832,7 @@ public class FragmentCompose extends FragmentBase {
for (InternetAddress address : acc)
address.validate();
if (lookup_mx)
DnsHelper.lookupMx(context, acc);
DnsHelper.checkMx(context, acc);
}
} catch (AddressException ex) {
throw new AddressException(context.getString(R.string.title_address_parse_error,
@@ -3846,7 +3846,7 @@ public class FragmentCompose extends FragmentBase {
for (InternetAddress address : abcc)
address.validate();
if (lookup_mx)
DnsHelper.lookupMx(context, abcc);
DnsHelper.checkMx(context, abcc);
}
} catch (AddressException ex) {
throw new AddressException(context.getString(R.string.title_address_parse_error,