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


##########
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:
   Thanks, and one question is which modules/packages did you check this time? 
(or u checked all modules?)



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