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 DemuxInputStream.java
Date Tue, 18 May 2004 08:14:49 GMT
peterreilly    2004/05/18 01:14:49

  Modified:    src/main/org/apache/tools/zip ZipOutputStream.java
                        ZipFile.java
               src/main/org/apache/tools/ant/util FileUtils.java
               src/main/org/apache/tools/ant/types DataType.java
               src/main/org/apache/tools/ant/filters TokenFilter.java
               src/main/org/apache/tools/ant DemuxInputStream.java
  Log:
  Javadoc syntax error corrections
  PR: 28998
  Obtained from: Jesse Glick
  
  Revision  Changes    Path
  1.24      +3 -3      ant/src/main/org/apache/tools/zip/ZipOutputStream.java
  
  Index: ZipOutputStream.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/zip/ZipOutputStream.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ZipOutputStream.java	14 Apr 2004 15:42:08 -0000	1.23
  +++ ZipOutputStream.java	18 May 2004 08:14:48 -0000	1.24
  @@ -256,8 +256,8 @@
        * access file).
        *
        * <p>For seekable streams, you don't need to calculate the CRC or
  -     * uncompressed size for {@link #STORED STORED} entries before
  -     * invoking {@link #putEntry putEntry}.
  +     * uncompressed size for {@link #STORED} entries before
  +     * invoking {@link #putNextEntry}.
        *
        * @since 1.17
        */
  
  
  
  1.13      +3 -4      ant/src/main/org/apache/tools/zip/ZipFile.java
  
  Index: ZipFile.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/zip/ZipFile.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ZipFile.java	9 Mar 2004 16:48:55 -0000	1.12
  +++ ZipFile.java	18 May 2004 08:14:48 -0000	1.13
  @@ -161,9 +161,8 @@
       }
   
       /**
  -     * Returns all entries as {@link org.apache.tools.ant.ZipEntry
  -     * ZipEntry} instances.
  -     * @return all entries as ZipEntry instances.
  +     * Returns all entries.
  +     * @return all entries as {@link ZipEntry} instances
        */
       public Enumeration getEntries() {
           return entries.keys();
  
  
  
  1.69      +2 -2      ant/src/main/org/apache/tools/ant/util/FileUtils.java
  
  Index: FileUtils.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- FileUtils.java	22 Apr 2004 14:03:46 -0000	1.68
  +++ FileUtils.java	18 May 2004 08:14:48 -0000	1.69
  @@ -1327,7 +1327,7 @@
        * implicitly not up do date.
        * @param source source file (should be the older)
        * @param dest dest file (should be the newer)
  -     * @param granularity: an offset added to the source time.
  +     * @param granularity an offset added to the source time.
        * @return true if the source is older than the dest, taking the
        *  granularity into account
        * @since Ant1.7
  
  
  
  1.21      +2 -2      ant/src/main/org/apache/tools/ant/types/DataType.java
  
  Index: DataType.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/DataType.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- DataType.java	9 Mar 2004 16:48:41 -0000	1.20
  +++ DataType.java	18 May 2004 08:14:49 -0000	1.21
  @@ -205,7 +205,7 @@
       /**
        * check that it is ok to set attributes, i.e that no reference is defined
        * @since Ant 1.6
  -     * @throw BuildException if not allowed
  +     * @throws BuildException if not allowed
        */
       protected void checkAttributesAllowed() {
           if (isReference()) {
  @@ -216,7 +216,7 @@
       /**
        * check that it is ok to add children, i.e that no reference is defined
        * @since Ant 1.6
  -     * @throw BuildException if not allowed
  +     * @throws BuildException if not allowed
        */
       protected void checkChildrenAllowed() {
           if (isReference()) {
  
  
  
  1.18      +1 -1      ant/src/main/org/apache/tools/ant/filters/TokenFilter.java
  
  Index: TokenFilter.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/filters/TokenFilter.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- TokenFilter.java	9 Mar 2004 16:48:02 -0000	1.17
  +++ TokenFilter.java	18 May 2004 08:14:49 -0000	1.18
  @@ -37,7 +37,7 @@
    * @since Ant 1.6
    * @see BaseFilterReader
    * @see ChainableReader
  - * @see DynamicConfigurator
  + * @see org.apache.tools.ant.DynamicConfigurator
    */
   public class TokenFilter extends BaseFilterReader
       implements ChainableReader {
  
  
  
  1.10      +1 -6      ant/src/main/org/apache/tools/ant/DemuxInputStream.java
  
  Index: DemuxInputStream.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DemuxInputStream.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DemuxInputStream.java	9 Mar 2004 16:47:59 -0000	1.9
  +++ DemuxInputStream.java	18 May 2004 08:14:49 -0000	1.10
  @@ -43,9 +43,6 @@
           this.project = project;
       }
   
  -    /**
  -     * @see InputStream.read()
  -     */
       public int read() throws IOException {
           byte[] buffer = new byte[1];
           if (project.demuxInput(buffer, 0, 1) == -1) {
  @@ -55,10 +52,8 @@
       }
   
   
  -    /**
  -     * @see InputStream.read(byte[], int, int)
  -     */
       public int read(byte[] buffer, int offset, int length) throws IOException {
           return project.demuxInput(buffer, offset, length);
       }
  +
   }
  
  
  

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


Mime
View raw message