Browse Source

Remove unused local variable

Fixing a audit violation


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270923 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
293685575c
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java

+ 4
- 4
proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java View File

@@ -85,13 +85,13 @@ public class TarUtils
*
* @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;


Loading…
Cancel
Save