imbajin commented on code in PR #2861:
URL:
https://github.com/apache/incubator-hugegraph/pull/2861#discussion_r2313272466
##########
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/query/Query.java:
##########
@@ -287,17 +293,27 @@ public long total() {
public long limit() {
if (this.capacity != NO_CAPACITY) {
Review Comment:
**Code style inconsistency**: While the performance optimization is good,
this pattern creates inconsistent code style throughout the file. Consider
applying the same refactoring pattern to all similar validation methods for
consistency, or use a helper method approach for better maintainability.
--
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]