mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-30 14:50:14 -05:00
replaced for with for-each loop
This commit is contained in:
parent
e75dd7df39
commit
3d327763b5
@ -463,8 +463,7 @@ public class WebDavStore extends Store {
|
|||||||
dataset = processRequest(this.mUrl, "SEARCH", getFolderListXml(), headers);
|
dataset = processRequest(this.mUrl, "SEARCH", getFolderListXml(), headers);
|
||||||
String[] folderUrls = dataset.getHrefs();
|
String[] folderUrls = dataset.getHrefs();
|
||||||
|
|
||||||
for (int i = 0; i < folderUrls.length; i++) {
|
for (String tempUrl : folderUrls) {
|
||||||
String tempUrl = folderUrls[i];
|
|
||||||
WebDavFolder folder = createFolder(tempUrl);
|
WebDavFolder folder = createFolder(tempUrl);
|
||||||
if (folder != null)
|
if (folder != null)
|
||||||
folderList.add(folder);
|
folderList.add(folder);
|
||||||
|
Loading…
Reference in New Issue
Block a user