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/14 11:24:14 UTC

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

peterreilly    2005/03/14 02:24:14

  Modified:    src/main/org/apache/tools/ant/taskdefs Pack.java
  Log:
  javadoc
  
  Revision  Changes    Path
  1.20      +10 -10    ant/src/main/org/apache/tools/ant/taskdefs/Pack.java
  
  Index: Pack.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Pack.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Pack.java	9 Mar 2004 16:48:06 -0000	1.19
  +++ Pack.java	14 Mar 2005 10:24:14 -0000	1.20
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2001-2004 The Apache Software Foundation
  + * Copyright  2001-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.
  @@ -39,7 +39,7 @@
   
       /**
        * the required destination file.
  -     * @param zipFile
  +     * @param zipFile the destination file
        */
       public void setZipfile(File zipFile) {
           this.zipFile = zipFile;
  @@ -47,7 +47,7 @@
   
       /**
        * the required destination file.
  -     * @param zipFile
  +     * @param zipFile the destination file
        */
       public void setDestfile(File zipFile) {
           setZipfile(zipFile);
  @@ -55,7 +55,7 @@
   
       /**
        * the file to compress; required.
  -     * @param src
  +     * @param src the source file
        */
       public void setSrc(File src) {
           source = src;
  @@ -88,7 +88,7 @@
   
       /**
        * validate, then hand off to the subclass
  -     * @throws BuildException
  +     * @throws BuildException on error
        */
       public void execute() throws BuildException {
           validate();
  @@ -107,8 +107,8 @@
   
       /**
        * zip a stream to an output stream
  -     * @param in
  -     * @param zOut
  +     * @param in   the stream to zip
  +     * @param zOut the output stream
        * @throws IOException
        */
       private void zipFile(InputStream in, OutputStream zOut)
  @@ -123,9 +123,9 @@
   
       /**
        * zip a file to an output stream
  -     * @param file
  -     * @param zOut
  -     * @throws IOException
  +     * @param file the file to zip
  +     * @param zOut the output stream
  +     * @throws IOException on error
        */
       protected void zipFile(File file, OutputStream zOut)
           throws IOException {
  
  
  

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