commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/io/src/java/org/apache/commons/io/find FileFinder.java FindingFilter.java
Date Fri, 29 Oct 2004 21:34:56 GMT
bayard      2004/10/29 14:34:56

  Modified:    io/src/java/org/apache/commons/io FileUtils.java
                        FilenameUtils.java
               io/src/java/org/apache/commons/io/find FileFinder.java
                        FindingFilter.java
  Log:
  switched TODO to @todo
  
  Revision  Changes    Path
  1.39      +2 -2      jakarta-commons/io/src/java/org/apache/commons/io/FileUtils.java
  
  Index: FileUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/FileUtils.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- FileUtils.java	24 Oct 2004 04:20:06 -0000	1.38
  +++ FileUtils.java	29 Oct 2004 21:34:56 -0000	1.39
  @@ -606,7 +606,7 @@
        * @param file The file
        * @param seconds The maximum time in seconds to wait.
        * @return True if file exists.
  -     * TODO Needs a clearer javadoc to see its real purpose for someone without
  +     * @todo Needs a clearer javadoc to see its real purpose for someone without
        *       NFS-knowledge.
        */
       public static boolean waitFor(File file, int seconds) {
  
  
  
  1.17      +4 -4      jakarta-commons/io/src/java/org/apache/commons/io/FilenameUtils.java
  
  Index: FilenameUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/FilenameUtils.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- FilenameUtils.java	29 Oct 2004 18:53:56 -0000	1.16
  +++ FilenameUtils.java	29 Oct 2004 21:34:56 -0000	1.17
  @@ -274,8 +274,8 @@
        *
        * @param path the path to normalize
        * @return the normalized String, or <code>null</code> if too many ..'s.
  +     * @todo Make this non-unix specific
        */
  -    // TODO: Make this non-unix specific
       public static String normalize(String path) {
           String normalized = path;
           // Resolve occurrences of "//" in the normalized path
  @@ -340,8 +340,8 @@
        * @param lookupPath the base path to attach to
        * @param path path the second path to attach to the first
        * @return The concatenated paths, or null if error occurs
  +     * @todo UNIX/Windows only. Is this a problem?
        */
  -    // TODO: UNIX/Windows only. Is this a problem?
       public static String catPath(String lookupPath, String path) {
           // Cut off the last slash and everything beyond
           int index = indexOfLastPathSeparator(lookupPath);
  @@ -391,8 +391,8 @@
        * <code>filename</code> is relative.
        * @param filename Absolute or relative file path to resolve.
        * @return The canonical <code>File</code> of <code>filename</code>.
  +     * @todo Decide whether this is worth keeping?
        */
  -    // TODO: Decide whether this is worth keeping?
       public static File resolveFile(File baseFile, String filename) {
           String filenm = filename;
           if ('/' != File.separatorChar) {
  
  
  
  1.3       +3 -1      jakarta-commons/io/src/java/org/apache/commons/io/find/FileFinder.java
  
  Index: FileFinder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/find/FileFinder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FileFinder.java	29 Oct 2004 18:25:36 -0000	1.2
  +++ FileFinder.java	29 Oct 2004 21:34:56 -0000	1.3
  @@ -69,7 +69,9 @@
           return find(directory, new java.util.HashMap());
       }
   
  -    // TODO: add maxdepth and mindepth somehow
  +    /**
  +     * @todo add maxdepth and mindepth somehow
  +     */
       public File[] find(File directory, Map options) {
           notifyDirectoryStarted(directory);
   
  
  
  
  1.5       +10 -4     jakarta-commons/io/src/java/org/apache/commons/io/find/FindingFilter.java
  
  Index: FindingFilter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/find/FindingFilter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FindingFilter.java	29 Oct 2004 18:22:16 -0000	1.4
  +++ FindingFilter.java	29 Oct 2004 21:34:56 -0000	1.5
  @@ -140,7 +140,9 @@
   
   }
   
  -    // TODO: need to implement the daystart bits
  +    /**
  +     * @todo need to implement the daystart bits
  +     */
       class MinFilter implements FileFilter {
           private Object option;
           private boolean invert;
  @@ -176,7 +178,9 @@
           }
       }
   
  -    // TODO: implement daystart
  +    /**
  +     * @todo need to implement the daystart bits
  +     */
       class TimeFilter implements FileFilter {
           private Object option;
           private boolean invert;
  @@ -212,8 +216,10 @@
           }
       }
   
  -    // TODO: needs to handle +5 for > 5 and -5 for < 5. 
  -    // TODO: Also needs to handle k, m, g, as suffixes.
  +    /**
  +     * @todo needs to handle +5 for > 5 and -5 for < 5. 
  +     * @todo Also needs to handle k, m, g, as suffixes.
  +     */
       class SizeFilter implements FileFilter {
           private Object option;
           private boolean invert;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message