This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 535b2a53721e9465a406798879ba901141ec6a68 Author: Gary Gregory <[email protected]> AuthorDate: Sun Feb 11 13:23:38 2024 -0500 Legibility --- .../commons/compress/harmony/unpack200/Archive.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/harmony/unpack200/Archive.java b/src/main/java/org/apache/commons/compress/harmony/unpack200/Archive.java index 63d45275b..287882171 100644 --- a/src/main/java/org/apache/commons/compress/harmony/unpack200/Archive.java +++ b/src/main/java/org/apache/commons/compress/harmony/unpack200/Archive.java @@ -71,17 +71,17 @@ public class Archive { /** * Creates an Archive with the given input and output file names. * - * @param inputFile TODO - * @param outputFile TODO + * @param inputFileName TODO + * @param outputFileName TODO * @throws FileNotFoundException if the input file does not exist * @throws FileNotFoundException TODO * @throws IOException TODO */ - public Archive(final String inputFile, final String outputFile) throws FileNotFoundException, IOException { - this.inputFileName = inputFile; - this.outputFileName = outputFile; - inputStream = new FileInputStream(inputFile); - outputStream = new JarOutputStream(new BufferedOutputStream(new FileOutputStream(outputFile))); + public Archive(final String inputFileName, final String outputFileName) throws FileNotFoundException, IOException { + this.inputFileName = inputFileName; + this.outputFileName = outputFileName; + this.inputStream = new FileInputStream(inputFileName); + this.outputStream = new JarOutputStream(new BufferedOutputStream(new FileOutputStream(outputFileName))); } private boolean available(final InputStream inputStream) throws IOException { @@ -169,7 +169,7 @@ public class Archive { JarEntry jarEntry; while ((jarEntry = jarInputStream.getNextJarEntry()) != null) { outputStream.putNextEntry(jarEntry); - final byte[] bytes = new byte[16384]; + final byte[] bytes = new byte[16_384]; int bytesRead = jarInputStream.read(bytes); while (bytesRead != -1) { outputStream.write(bytes, 0, bytesRead);
