Skip to content

Commit f434567

Browse files
committed
switched TODO to @todo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140630 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9c33070 commit f434567

4 files changed

Lines changed: 19 additions & 11 deletions

File tree

src/java/org/apache/commons/io/FileUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
* @author <a href="mailto:jefft@apache.org">Jeff Turner</a>
6565
* @author Matthew Hawthorne
6666
* @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
67-
* @version $Id: FileUtils.java,v 1.38 2004/10/24 04:20:06 martinc Exp $
67+
* @version $Id: FileUtils.java,v 1.39 2004/10/29 21:34:56 bayard Exp $
6868
*/
6969
public class FileUtils {
7070

@@ -606,7 +606,7 @@ public static void cleanDirectory(File directory)
606606
* @param file The file
607607
* @param seconds The maximum time in seconds to wait.
608608
* @return True if file exists.
609-
* TODO Needs a clearer javadoc to see its real purpose for someone without
609+
* @todo Needs a clearer javadoc to see its real purpose for someone without
610610
* NFS-knowledge.
611611
*/
612612
public static boolean waitFor(File file, int seconds) {

src/java/org/apache/commons/io/FilenameUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
* @author Matthew Hawthorne
5656
* @author Martin Cooper
5757
* @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
58-
* @version $Id: FilenameUtils.java,v 1.16 2004/10/29 18:53:56 bayard Exp $
58+
* @version $Id: FilenameUtils.java,v 1.17 2004/10/29 21:34:56 bayard Exp $
5959
* @since Commons IO 1.1
6060
*/
6161
public class FilenameUtils {
@@ -274,8 +274,8 @@ public static String getPath(
274274
*
275275
* @param path the path to normalize
276276
* @return the normalized String, or <code>null</code> if too many ..'s.
277+
* @todo Make this non-unix specific
277278
*/
278-
// TODO: Make this non-unix specific
279279
public static String normalize(String path) {
280280
String normalized = path;
281281
// Resolve occurrences of "//" in the normalized path
@@ -340,8 +340,8 @@ public static String normalize(String path) {
340340
* @param lookupPath the base path to attach to
341341
* @param path path the second path to attach to the first
342342
* @return The concatenated paths, or null if error occurs
343+
* @todo UNIX/Windows only. Is this a problem?
343344
*/
344-
// TODO: UNIX/Windows only. Is this a problem?
345345
public static String catPath(String lookupPath, String path) {
346346
// Cut off the last slash and everything beyond
347347
int index = indexOfLastPathSeparator(lookupPath);
@@ -391,8 +391,8 @@ public static int indexOfLastPathSeparator(String path) {
391391
* <code>filename</code> is relative.
392392
* @param filename Absolute or relative file path to resolve.
393393
* @return The canonical <code>File</code> of <code>filename</code>.
394+
* @todo Decide whether this is worth keeping?
394395
*/
395-
// TODO: Decide whether this is worth keeping?
396396
public static File resolveFile(File baseFile, String filename) {
397397
String filenm = filename;
398398
if ('/' != File.separatorChar) {

src/java/org/apache/commons/io/find/FileFinder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ public File[] find(File directory) {
6969
return find(directory, new java.util.HashMap());
7070
}
7171

72-
// TODO: add maxdepth and mindepth somehow
72+
/**
73+
* @todo add maxdepth and mindepth somehow
74+
*/
7375
public File[] find(File directory, Map options) {
7476
notifyDirectoryStarted(directory);
7577

src/java/org/apache/commons/io/find/FindingFilter.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ static boolean invert(boolean invert, boolean answer) {
140140

141141
}
142142

143-
// TODO: need to implement the daystart bits
143+
/**
144+
* @todo need to implement the daystart bits
145+
*/
144146
class MinFilter implements FileFilter {
145147
private Object option;
146148
private boolean invert;
@@ -176,7 +178,9 @@ public boolean accept(File file) {
176178
}
177179
}
178180

179-
// TODO: implement daystart
181+
/**
182+
* @todo need to implement the daystart bits
183+
*/
180184
class TimeFilter implements FileFilter {
181185
private Object option;
182186
private boolean invert;
@@ -212,8 +216,10 @@ public boolean accept(File file) {
212216
}
213217
}
214218

215-
// TODO: needs to handle +5 for > 5 and -5 for < 5.
216-
// TODO: Also needs to handle k, m, g, as suffixes.
219+
/**
220+
* @todo needs to handle +5 for > 5 and -5 for < 5.
221+
* @todo Also needs to handle k, m, g, as suffixes.
222+
*/
217223
class SizeFilter implements FileFilter {
218224
private Object option;
219225
private boolean invert;

0 commit comments

Comments
 (0)