ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs LoadFile.java LoadProperties.java
Date Mon, 06 Dec 2004 09:58:53 GMT
peterreilly    2004/12/06 01:58:53

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
                        LoadFile.java LoadProperties.java
  Log:
  checkstyle
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.26.2.5  +2 -1      ant/src/main/org/apache/tools/ant/taskdefs/LoadFile.java
  
  Index: LoadFile.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/LoadFile.java,v
  retrieving revision 1.26.2.4
  retrieving revision 1.26.2.5
  diff -u -r1.26.2.4 -r1.26.2.5
  --- LoadFile.java	9 Mar 2004 17:01:33 -0000	1.26.2.4
  +++ LoadFile.java	6 Dec 2004 09:58:53 -0000	1.26.2.5
  @@ -35,7 +35,7 @@
    * @since Ant 1.5
    * @ant.task category="utility"
    */
  -public final class LoadFile extends Task {
  +public class LoadFile extends Task {
   
       /**
        * source file, usually null
  @@ -190,6 +190,7 @@
   
       /**
        * Add the FilterChain element.
  +     * @param filter the filter to add
        */
       public final void addFilterChain(FilterChain filter) {
           filterChains.addElement(filter);
  
  
  
  1.16.2.10 +5 -2      ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java
  
  Index: LoadProperties.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java,v
  retrieving revision 1.16.2.9
  retrieving revision 1.16.2.10
  diff -u -r1.16.2.9 -r1.16.2.10
  --- LoadProperties.java	22 Jun 2004 19:34:54 -0000	1.16.2.9
  +++ LoadProperties.java	6 Dec 2004 09:58:53 -0000	1.16.2.10
  @@ -24,7 +24,6 @@
   import java.io.IOException;
   import java.io.InputStreamReader;
   import java.io.Reader;
  -import java.util.Enumeration;
   import java.util.Properties;
   import java.util.Vector;
   import org.apache.tools.ant.Project;
  @@ -41,7 +40,7 @@
    * @since Ant 1.5
    * @ant.task category="utility"
    */
  -public final class LoadProperties extends Task {
  +public class LoadProperties extends Task {
   
       /**
        * Source file
  @@ -115,6 +114,7 @@
   
       /**
        * Add a classpath to use when looking up a resource.
  +     * @return The classpath to be configured
        */
       public Path createClasspath() {
           if (this.classpath == null) {
  @@ -126,6 +126,7 @@
       /**
        * Set the classpath to use when looking up a resource,
        * given as reference to a <path> defined elsewhere
  +     * @param r The reference value
        */
       public void setClasspathRef(Reference r) {
           createClasspath().setRefid(r);
  @@ -133,6 +134,7 @@
   
       /**
        * get the classpath used by this <CODE>LoadProperties</CODE>.
  +     * @return The classpath
        */
       public Path getClasspath() {
           return classpath;
  @@ -245,6 +247,7 @@
   
       /**
        * Adds a FilterChain.
  +     * @param filter the filter to add
        */
       public final void addFilterChain(FilterChain filter) {
           filterChains.addElement(filter);
  
  
  

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


Mime
View raw message