From 3d327763b50afd24289af8047088f1c5935431b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Sat, 15 Feb 2014 22:42:20 +0100 Subject: [PATCH] replaced for with for-each loop --- src/com/fsck/k9/mail/store/WebDavStore.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/fsck/k9/mail/store/WebDavStore.java b/src/com/fsck/k9/mail/store/WebDavStore.java index dd8b399ed..01b45655a 100644 --- a/src/com/fsck/k9/mail/store/WebDavStore.java +++ b/src/com/fsck/k9/mail/store/WebDavStore.java @@ -463,8 +463,7 @@ public class WebDavStore extends Store { dataset = processRequest(this.mUrl, "SEARCH", getFolderListXml(), headers); String[] folderUrls = dataset.getHrefs(); - for (int i = 0; i < folderUrls.length; i++) { - String tempUrl = folderUrls[i]; + for (String tempUrl : folderUrls) { WebDavFolder folder = createFolder(tempUrl); if (folder != null) folderList.add(folder);