garydgregory commented on code in PR #442:
URL: https://github.com/apache/commons-compress/pull/442#discussion_r1402651501
##########
src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveConstants.java:
##########
@@ -26,7 +26,7 @@ public final class DumpArchiveConstants {
* The type of compression.
*/
public enum COMPRESSION_TYPE {
- ZLIB(0), BZLIB(1), LZO(2);
+ UNKNOWN(-1), ZLIB(0), BZLIB(1), LZO(2);
Review Comment:
Is this required? Does it avoid an NPE? I do not see it used outside of this
enum.
--
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]