mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Use interface Map.Entry.
This commit is contained in:
parent
14abb68772
commit
a51daf9798
@ -27,10 +27,8 @@ import java.security.MessageDigest;
|
|||||||
import java.security.NoSuchAlgorithmException;
|
import java.security.NoSuchAlgorithmException;
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
import org.apache.commons.codec.binary.Hex;
|
import org.apache.commons.codec.binary.Hex;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Arrays;
|
import java.util.*;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class SmtpTransport extends Transport {
|
public class SmtpTransport extends Transport {
|
||||||
public static final int CONNECTION_SECURITY_NONE = 0;
|
public static final int CONNECTION_SECURITY_NONE = 0;
|
||||||
@ -284,7 +282,7 @@ public class SmtpTransport extends Transport {
|
|||||||
addressesOfCharset.add(addressString);
|
addressesOfCharset.add(addressString);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (HashMap.Entry<String, ArrayList<String>> charsetAddressesMapEntry :
|
for (Map.Entry<String, ArrayList<String>> charsetAddressesMapEntry :
|
||||||
charsetAddressesMap.entrySet()) {
|
charsetAddressesMap.entrySet()) {
|
||||||
String charset = charsetAddressesMapEntry.getKey();
|
String charset = charsetAddressesMapEntry.getKey();
|
||||||
ArrayList<String> addressesOfCharset = charsetAddressesMapEntry.getValue();
|
ArrayList<String> addressesOfCharset = charsetAddressesMapEntry.getValue();
|
||||||
|
Loading…
Reference in New Issue
Block a user