You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "Copilot (via GitHub)" <gi...@apache.org> on 2026/03/15 13:29:53 UTC

Re: [PR] optimize(api): disable GraphSpaceAPI and ManagerAPI in standalone mode [hugegraph]

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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org