Copilot commented on code in PR #2966:
URL: https://github.com/apache/hugegraph/pull/2966#discussion_r2936742351
##########
hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/api/ManagerApiTest.java:
##########
@@ -326,15 +322,15 @@ protected List<Map<String, Object>> listUsers(String
graphSpace, String graph) {
Response r = this.client().get(userPath, ImmutableMap.of("limit",
NO_LIMIT));
String result = assertResponseStatus(200, r);
- Map<String, List<Map<String, Object>>> resultMap =
- JsonUtil.fromJson(result, new TypeReference<Map<String,
- List<Map<String, Object>>>>() {
- });
+ Map<String, List<Map<String, Object>>> resultMap =
JsonUtil.fromJson(result,
+
new TypeReference<Map<String, List<Map<String, Object>>>>() {
+
});
Review Comment:
This reformatted block exceeds the 100-character line length enforced by
checkstyle (see `style/checkstyle.xml:29-30`). Line 326 is approximately 130+
characters due to deep alignment indentation. Consider breaking the
`TypeReference` instantiation onto a separate variable or reducing the
alignment depth.
--
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]