viirya commented on a change in pull request #3250:
URL: https://github.com/apache/hadoop/pull/3250#discussion_r682057640
##########
File path:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/zlib/BuiltInGzipDecompressor.java
##########
@@ -34,13 +34,13 @@
*/
@DoNotPool
public class BuiltInGzipDecompressor implements Decompressor {
- private static final int GZIP_MAGIC_ID = 0x8b1f; // if read as LE short int
- private static final int GZIP_DEFLATE_METHOD = 8;
- private static final int GZIP_FLAGBIT_HEADER_CRC = 0x02;
- private static final int GZIP_FLAGBIT_EXTRA_FIELD = 0x04;
- private static final int GZIP_FLAGBIT_FILENAME = 0x08;
- private static final int GZIP_FLAGBIT_COMMENT = 0x10;
- private static final int GZIP_FLAGBITS_RESERVED = 0xe0;
+ public static final int GZIP_MAGIC_ID = 0x8b1f; // if read as LE short int
Review comment:
Some are not, probably I did it during development but forgot to revert.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]