ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umag...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/types ZipFileSet.java
Date Sat, 02 Feb 2002 08:06:45 GMT
umagesh     02/02/02 00:06:45

  Modified:    src/main/org/apache/tools/ant/types ZipFileSet.java
  Log:
  Keep the constructor chain alive.
  
  PR: 4928
  
  Submitted by: acl1@notes.ntrs.com
  
  Revision  Changes    Path
  1.6       +16 -8     jakarta-ant/src/main/org/apache/tools/ant/types/ZipFileSet.java
  
  Index: ZipFileSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/types/ZipFileSet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ZipFileSet.java	10 Jan 2002 11:21:20 -0000	1.5
  +++ ZipFileSet.java	2 Feb 2002 08:06:45 -0000	1.6
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -9,7 +9,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -17,15 +17,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
    * 4. The names "The Jakarta Project", "Ant", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -60,7 +60,7 @@
   import org.apache.tools.ant.Project;
   
   /**
  - * A ZipFileSet is a FileSet with extra attributes useful in the context of 
  + * A ZipFileSet is a FileSet with extra attributes useful in the context of
    * Zip/Jar tasks.
    *
    * A ZipFileSet extends FileSets with the ability to extract a subset of the
  @@ -84,6 +84,14 @@
       private String fullpath       = "";
       private boolean hasDir        = false;
   
  +    public ZipFileSet() {
  +      super();
  +    }
  +
  +    protected ZipFileSet(FileSet fileset) {
  +      super(fileset);
  +    }
  +
       /**
        * Set the directory for the fileset.  Prevents both "dir" and "src"
        * from being specified.
  @@ -172,6 +180,6 @@
           } else {
               return super.getDirectoryScanner(p);
           }
  -    }    
  -  
  +    }
  +
   }
  
  
  

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


Mime
View raw message