bodewig 2002/10/31 07:18:50
Modified: src/main/org/apache/tools/tar Tag: ANT_15_BRANCH
TarUtils.java
Log:
save a few bytes
Revision Changes Path
No revision
No revision
1.3.2.1 +1 -2 jakarta-ant/src/main/org/apache/tools/tar/TarUtils.java
Index: TarUtils.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/tar/TarUtils.java,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- TarUtils.java 10 Jan 2002 10:40:48 -0000 1.3
+++ TarUtils.java 31 Oct 2002 15:18:50 -0000 1.3.2.1
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * Copyright (c) 2000,2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -157,7 +157,6 @@
* @return The integer value of the octal bytes.
*/
public static int getOctalBytes(long value, byte[] buf, int offset, int
length) {
- byte[] result = new byte[length];
int idx = length - 1;
buf[offset + idx] = 0;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>