You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2004/12/06 10:58:29 UTC

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs LoadFile.java LoadProperties.java

peterreilly    2004/12/06 01:58:29

  Modified:    src/main/org/apache/tools/ant/taskdefs LoadFile.java
                        LoadProperties.java
  Log:
  checkstyle
  
  Revision  Changes    Path
  1.31      +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.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- LoadFile.java	9 Mar 2004 16:48:06 -0000	1.30
  +++ LoadFile.java	6 Dec 2004 09:58:29 -0000	1.31
  @@ -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.27      +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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- LoadProperties.java	22 Nov 2004 09:23:28 -0000	1.26
  +++ LoadProperties.java	6 Dec 2004 09:58:29 -0000	1.27
  @@ -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