Copilot commented on code in PR #719:
URL:
https://github.com/apache/hugegraph-toolchain/pull/719#discussion_r2971569820
##########
hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/service/load/FileMappingService.java:
##########
@@ -105,6 +105,12 @@ public List<FileMapping> listAll() {
return this.mapper.selectList(null);
}
+ public List<FileMapping> listByConnId(int connId) {
+ QueryWrapper<FileMapping> query = Wrappers.query();
+ query.eq("conn_id", connId);
+ return this.mapper.selectList(query);
+ }
+
Review Comment:
`listByConnId()` is newly added but not referenced anywhere in the codebase
(current usage sites still call `listAll()`/`list(...)`). If it’s not needed
for this fix, consider removing it to avoid dead code; otherwise, please add
the intended call site as part of this PR.
```suggestion
```
--
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]