garydgregory commented on code in PR #459:
URL: https://github.com/apache/commons-compress/pull/459#discussion_r1446785034


##########
src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java:
##########
@@ -128,6 +130,15 @@ private static <T> Iterable<T> reverse(final Iterable<T> 
i) {
 
     private AES256Options aes256Options;
 
+    private long entryPackedSize = 0;

Review Comment:
   Don't initialize instance variable to their default values.



##########
src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java:
##########
@@ -128,6 +130,15 @@ private static <T> Iterable<T> reverse(final Iterable<T> 
i) {
 
     private AES256Options aes256Options;
 
+    private long entryPackedSize = 0;
+
+    /**
+     * This method returns the packedSize of the entry.
+     */

Review Comment:
   All new public and protected methods need a Javadoc since tag.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to