imbajin commented on code in PR #685:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/685#discussion_r2465635034


##########
hugegraph-client/src/main/java/org/apache/hugegraph/driver/HugeClient.java:
##########
@@ -42,8 +44,11 @@ public class HugeClient implements Closeable {
         ClientVersion.check();
     }
 
+    @Getter

Review Comment:
   ⚠️ **代码重构建议**
   
   `HugeClient` 类中删除了两个 getter 方法转而使用 Lombok 的 `@Getter` 注解。这是一个好的改进,但建议:
   
   1. 确保项目中所有使用 Lombok 的地方风格一致
   2. 验证所有调用这些 getter 的地方仍然能正常工作(虽然 Lombok 生成的方法名相同,但在某些反射场景下可能有差异)
   3. 考虑同时为其他字段(如 `borrowedClient`, `client` 等)也使用一致的注解风格



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