This is an automated email from the ASF dual-hosted git repository. peterlee pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit f11c897300b6e95c1f0140451f851841adc28fce Author: theobisproject <theobisproj...@gmail.com> AuthorDate: Fri Jul 24 10:01:06 2020 +0200 COMPRESS-540: Change visibility of methods moved to TarUtils to protected --- .../java/org/apache/commons/compress/archivers/tar/TarUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java index 2e5c30c..e1b87b2 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java @@ -660,7 +660,7 @@ public class TarUtils { * @return map of PAX headers values found inside of the current (local or global) PAX headers tar entry. * @throws IOException */ - public static Map<String, String> parsePaxHeaders(final InputStream inputStream, final List<TarArchiveStructSparse> sparseHeaders, final Map<String, String> globalPaxHeaders) + protected static Map<String, String> parsePaxHeaders(final InputStream inputStream, final List<TarArchiveStructSparse> sparseHeaders, final Map<String, String> globalPaxHeaders) throws IOException { final Map<String, String> headers = new HashMap<>(globalPaxHeaders); Long offset = null; @@ -752,7 +752,7 @@ public class TarUtils { * @param sparseMap the sparse map string consisting of comma-separated values "offset,size[,offset-1,size-1...]" * @return sparse headers parsed from sparse map */ - public static List<TarArchiveStructSparse> parsePAX01SparseHeaders(String sparseMap) { + protected static List<TarArchiveStructSparse> parsePAX01SparseHeaders(String sparseMap) { List<TarArchiveStructSparse> sparseHeaders = new ArrayList<>(); String[] sparseHeaderStrings = sparseMap.split(","); @@ -776,7 +776,7 @@ public class TarUtils { * @return sparse headers * @throws IOException */ - public static List<TarArchiveStructSparse> parsePAX1XSparseHeaders(final InputStream inputStream, final int recordSize) throws IOException { + protected static List<TarArchiveStructSparse> parsePAX1XSparseHeaders(final InputStream inputStream, final int recordSize) throws IOException { // for 1.X PAX Headers List<TarArchiveStructSparse> sparseHeaders = new ArrayList<>(); long bytesRead = 0;