From 293685575ca8592109f54a7f741082dadcaa8f6e Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 27 Jan 2002 00:26:33 +0000 Subject: [PATCH] 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 --- .../myrmidon/src/java/org/apache/aut/tar/TarUtils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java b/proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java index bbf72d127..d0ab8bae1 100644 --- a/proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java +++ b/proposal/myrmidon/src/java/org/apache/aut/tar/TarUtils.java @@ -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;