You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/14 21:43:38 UTC

(commons-compress) branch master updated: Format nits

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


The following commit(s) were added to refs/heads/master by this push:
     new a21379735 Format nits
a21379735 is described below

commit a21379735425948205a74f5569cc62ccef090335
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 14 16:43:32 2023 -0500

    Format nits
---
 .../org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
index 63e44e977..3a1b76619 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
@@ -58,6 +58,7 @@ public class ArArchiveInputStream extends ArchiveInputStream<ArArchiveEntry> {
     private static final Pattern BSD_LONGNAME_PATTERN = Pattern.compile("^" + BSD_LONGNAME_PREFIX + "\\d+");
     private static final String GNU_STRING_TABLE_NAME = "//";
     private static final Pattern GNU_LONGNAME_PATTERN = Pattern.compile("^/\\d+");
+
     /**
      * Does the name look like it is a long name (or a name containing
      * spaces) as encoded by BSD ar?
@@ -179,9 +180,11 @@ public class ArArchiveInputStream extends ArchiveInputStream<ArArchiveEntry> {
         }
         return Integer.parseInt(string, base);
     }
+
     private long asLong(final byte[] byteArray, final int offset, final int len) {
         return Long.parseLong(ArchiveUtils.toAsciiString(byteArray, offset, len).trim());
     }
+
     /*
      * (non-Javadoc)
      *