You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "healchow (via GitHub)" <gi...@apache.org> on 2023/03/04 11:49:02 UTC
[GitHub] [inlong] healchow commented on a diff in pull request #7514: [INLONG-7513][DataProxy] Delete duplicate definitions
healchow commented on code in PR #7514:
URL: https://github.com/apache/inlong/pull/7514#discussion_r1125448295
##########
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/mq/pulsar/PulsarHandler.java:
##########
@@ -282,8 +282,6 @@ private CompressionType getPulsarCompressionType() {
switch (type) {
case "LZ4":
return CompressionType.LZ4;
- case "NONE":
Review Comment:
I guess it's better to move the `case "NONE" line above the `default` line.
--
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: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org