jadepeng commented on code in PR #1990:
URL: 
https://github.com/apache/incubator-hugegraph/pull/1990#discussion_r1005564301


##########
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/AnalyzerTest.java:
##########
@@ -216,11 +217,7 @@ public void testIKAnalyzer() {
     }
 
     private static Set<String> setOf(String... elems) {
-        Set<String> result = new HashSet<>();
-        for (String elem : elems) {
-            result.add(elem);
-        }
-        return result;
+        return new HashSet<>(Arrays.asList(elems));

Review Comment:
   升级core的maven依赖时顺手改的,这块有需要,可以几个人分下



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

Reply via email to