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 2005/03/11 11:11:07 UTC

cvs commit: ant/src/main/org/apache/tools/ant/types FileSet.java

peterreilly    2005/03/11 02:11:07

  Modified:    src/main/org/apache/tools/ant/types FileSet.java
  Log:
  javadoc
  
  Revision  Changes    Path
  1.39      +9 -1      ant/src/main/org/apache/tools/ant/types/FileSet.java
  
  Index: FileSet.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/FileSet.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- FileSet.java	9 Mar 2004 16:48:41 -0000	1.38
  +++ FileSet.java	11 Mar 2005 10:11:07 -0000	1.39
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2004 The Apache Software Foundation
  + * Copyright  2000-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -24,10 +24,17 @@
    */
   public class FileSet extends AbstractFileSet {
   
  +    /**
  +     * Constructor for FileSet.
  +     */
       public FileSet() {
           super();
       }
   
  +    /**
  +     * Constructor for FileSet, with FileSet to shallowly clone.
  +     * @param fileset the fileset to clone
  +     */
       protected FileSet(FileSet fileset) {
           super(fileset);
       }
  @@ -35,6 +42,7 @@
       /**
        * Return a FileSet that has the same basedir and same patternsets
        * as this one.
  +     * @return the cloned fileset
        */
       public Object clone() {
           if (isReference()) {
  
  
  

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