theobisproject commented on a change in pull request #113:
URL: https://github.com/apache/commons-compress/pull/113#discussion_r548909890
##########
File path:
src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
##########
@@ -553,6 +554,23 @@ public TarArchiveEntry(final byte[] headerBuf, final
ZipEncoding encoding, final
parseTarHeader(headerBuf, encoding, false, lenient);
}
+ /**
+ * Construct an entry from an archive's header bytes for random access
tar. File is set to null.
+ * @param headerBuf The header bytes from a tar archive entry.
+ * @param encoding encoding to use for file names
+ * @param lenient when set to true illegal values for group/userid, mode,
device numbers and timestamp will be
+ * ignored and the fields set to {@link #UNKNOWN}. When set to false such
illegal fields cause an exception instead.
+ * @param dataOffset Position of the entry data in the random access file
Review comment:
I formatted all the added Javadoc in `TarArchiveEntry` to start with
lower case letter and end with a period.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]