replaced for with for-each loop

This commit is contained in:
András Veres-Szentkirályi 2014-02-15 22:42:20 +01:00
parent e75dd7df39
commit 3d327763b5

View file

@ -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);