diff --git a/manual/tutorial-tasks-filesets-properties.html b/manual/tutorial-tasks-filesets-properties.html index 88f46d951..ac9a80b88 100644 --- a/manual/tutorial-tasks-filesets-properties.html +++ b/manual/tutorial-tasks-filesets-properties.html @@ -477,7 +477,7 @@ reuse later (*3). for (File includedFile : path.list()) { String filename = includedFile.replace('\\','/'); filename = filename.substring(filename.lastIndexOf("/")+1); - if (file.equals(filename) && !foundFiles.contains(includedFile)) { // 1 + if (file.equals(filename) && !foundFiles.contains(includedFile)) { // 1 foundFiles.add(includedFile); } } @@ -485,16 +485,16 @@ reuse later (*3). // create the return value (list/single) String rv = null; - if (!foundFiles.isEmpty()) { // 2 + if (!foundFiles.isEmpty()) { // 2 if (delimiter == null) { // only the first rv = foundFiles.get(0); } else { // create list StringBuilder list = new StringBuilder(); - for (String file : foundFiles) { // 3 + for (String file : foundFiles) { // 3 list.append(it.next()); - if (list.length() > 0) list.append(delimiter); // 4 + if (list.length() > 0) list.append(delimiter); // 4 } rv = list.toString(); }