healchow commented on code in PR #4822:
URL: https://github.com/apache/inlong/pull/4822#discussion_r910911423
##########
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/db/RocksDbImp.java:
##########
@@ -239,11 +257,11 @@ public List<KeyValueEntity> search(StateSearchKey
searchKey) {
public List<CommandEntity> searchCommands(boolean isAcked) {
List<CommandEntity> results = new LinkedList<>();
try (final RocksIterator it = db.newIterator(
- columnHandlesMap.get(commandFamilyName))) {
+ columnHandlesMap.get(commandFamilyName))) {
Review Comment:
Those lines can be merged into one 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]