ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/aut/tar TarUtils.java
Date Sun, 27 Jan 2002 00:26:33 GMT
donaldp     02/01/26 16:26:33

  Modified:    proposal/myrmidon/src/java/org/apache/aut/tar TarUtils.java
  Log:
  Remove unused local variable
  
  Fixing a audit violation
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-ant/proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java
  
  Index: TarUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TarUtils.java	20 Jan 2002 00:03:04 -0000	1.1
  +++ TarUtils.java	27 Jan 2002 00:26:33 -0000	1.2
  @@ -85,13 +85,13 @@
        *
        * @param offset The offset into the buffer from which to parse.
        * @param length The number of header bytes to parse.
  -     * @param value Description of Parameter
  -     * @param buf Description of Parameter
        * @return The integer value of the octal bytes.
        */
  -    public static int getOctalBytes( long value, byte[] buf, int offset, int length )
  +    public static int getOctalBytes( final long value,
  +                                     final byte[] buf,
  +                                     final int offset,
  +                                     final int length )
       {
  -        byte[] result = new byte[ length ];
           int idx = length - 1;
   
           buf[ offset + idx ] = 0;
  
  
  

--
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