zhangshenghang commented on code in PR #7148: URL: https://github.com/apache/seatunnel/pull/7148#discussion_r1672307129
########## seatunnel-connectors-v2/connector-hbase/src/main/java/org/apache/seatunnel/connectors/seatunnel/hbase/source/HbaseSourceReader.java: ########## @@ -39,22 +40,21 @@ import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.ArrayList; +import java.util.Arrays; import java.util.Deque; -import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Objects; -import java.util.Set; import java.util.concurrent.ConcurrentLinkedDeque; +import java.util.stream.Collectors; @Slf4j public class HbaseSourceReader implements SourceReader<SeaTunnelRow, HbaseSourceSplit> { - private static final String ROW_KEY = "rowkey"; + private final String ROW_KEY = "rowkey"; Review Comment: > Why remove static? The previous methods using ROW_KEY were all non-static methods. Using this.ROW_KEY to call private final static String ROW_KEY = "rowkey"; is not a good choice. Here is how to use ROW_KEY in historical codeļ¼   -- 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-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org