ivanzlenko commented on code in PR #7968:
URL: https://github.com/apache/ozone/pull/7968#discussion_r2049141272


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/CopyContainerCompression.java:
##########
@@ -51,18 +51,16 @@ public OutputStream wrap(OutputStream output) {
   SNAPPY(CompressorStreamFactory.SNAPPY_FRAMED),
   ZSTD(CompressorStreamFactory.ZSTANDARD);
 
+  private static final Logger LOG = 
LoggerFactory.getLogger(CopyContainerCompression.class);
+
   private final String compressorFactoryName;
 
+  private static final CopyContainerCompression DEFAULT_COMPRESSION = 
CopyContainerCompression.NO_COMPRESSION;

Review Comment:
   Yeah, I'll dig on this idea. Seems very reasonable to have either checkstyle 
or PMD rule which will enforce such order. 



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

Reply via email to