mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-30 14:50:14 -05:00
replaced unnecessary explicit iterator use with for-each loop
This commit is contained in:
parent
b942bf2889
commit
8ac942d828
@ -2347,11 +2347,7 @@ public class MessagingController implements Runnable {
|
||||
* upto speed with the remote UIDs of remote destination folder.
|
||||
*/
|
||||
if (!localUidMap.isEmpty() && remoteUidMap != null && !remoteUidMap.isEmpty()) {
|
||||
Set<Map.Entry<String, String>> remoteSrcEntries = remoteUidMap.entrySet();
|
||||
Iterator<Map.Entry<String, String>> remoteSrcEntriesIterator = remoteSrcEntries.iterator();
|
||||
|
||||
while (remoteSrcEntriesIterator.hasNext()) {
|
||||
Map.Entry<String, String> entry = remoteSrcEntriesIterator.next();
|
||||
for (Map.Entry<String, String> entry : remoteUidMap.entrySet()) {
|
||||
String remoteSrcUid = entry.getKey();
|
||||
String localDestUid = localUidMap.get(remoteSrcUid);
|
||||
String newUid = entry.getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user