ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/util ResourceUtils.java
Date Mon, 24 Jan 2005 23:38:42 GMT
mbenson     2005/01/24 15:38:41

  Modified:    src/main/org/apache/tools/ant/util ResourceUtils.java
  Log:
  Javadoc
  
  Revision  Changes    Path
  1.14      +15 -17    ant/src/main/org/apache/tools/ant/util/ResourceUtils.java
  
  Index: ResourceUtils.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/ResourceUtils.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ResourceUtils.java	6 Jan 2005 12:05:07 -0000	1.13
  +++ ResourceUtils.java	24 Jan 2005 23:38:41 -0000	1.14
  @@ -26,7 +26,7 @@
   import java.util.Vector;
   
   /**
  - * this class provides utility methods to process resources
  + * This class provides utility methods to process Resources.
    *
    * @since Ant 1.5.2
    */
  @@ -36,18 +36,18 @@
       private static final FileUtils FILE_UTILS = FileUtils.getFileUtils();
   
       /**
  -     * tells which source files should be reprocessed based on the
  -     * last modification date of target files
  -     * @param logTo where to send (more or less) interesting output
  +     * Tells which source files should be reprocessed based on the
  +     * last modification date of target files.
  +     * @param logTo where to send (more or less) interesting output.
        * @param source array of resources bearing relative path and last
  -     * modification date
  +     * modification date.
        * @param mapper filename mapper indicating how to find the target
  -     * files
  +     * files.
        * @param targets object able to map as a resource a relative path
  -     * at <b>destination</b>
  +     * at <b>destination</b>.
        * @return array containing the source files which need to be
        * copied or processed, because the targets are out of date or do
  -     * not exist
  +     * not exist.
        */
       public static Resource[] selectOutOfDateSources(ProjectComponent logTo,
                                                       Resource[] source,
  @@ -58,20 +58,20 @@
       }
   
       /**
  -     * tells which source files should be reprocessed based on the
  -     * last modification date of target files
  -     * @param logTo where to send (more or less) interesting output
  +     * Tells which source files should be reprocessed based on the
  +     * last modification date of target files.
  +     * @param logTo where to send (more or less) interesting output.
        * @param source array of resources bearing relative path and last
  -     * modification date
  +     * modification date.
        * @param mapper filename mapper indicating how to find the target
  -     * files
  +     * files.
        * @param targets object able to map as a resource a relative path
  -     * at <b>destination</b>
  +     * at <b>destination</b>.
        * @param granularity The number of milliseconds leeway to give
        * before deciding a target is out of date.
        * @return array containing the source files which need to be
        * copied or processed, because the targets are out of date or do
  -     * not exist
  +     * not exist.
        * @since Ant 1.6.2
        */
       public static Resource[] selectOutOfDateSources(ProjectComponent logTo,
  @@ -88,7 +88,6 @@
                            + " modified in the future.",
                            Project.MSG_WARN);
               }
  -
               String[] targetnames =
                   mapper.mapFileName(source[counter].getName()
                                      .replace('/', File.separatorChar));
  @@ -125,7 +124,6 @@
                           targetList.append(atarget.getName());
                       }
                   }
  -
                   if (!added) {
                       logTo.log(source[counter].getName()
                                 + " omitted as " + targetList.toString()
  
  
  

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


Mime
View raw message