KevinClair commented on a change in pull request #2016:
URL: https://github.com/apache/incubator-shenyu/pull/2016#discussion_r701250907



##########
File path: 
shenyu-admin/src/test/java/org/apache/shenyu/admin/AbstractReflectGetterSetterTest.java
##########
@@ -87,7 +86,7 @@
     protected abstract Class<?> getTargetClass();
 
     protected Set<String> getExcludeFields() {
-        return new HashSet<>(Arrays.asList("serialVersionUID"));
+        return new HashSet<>(Collections.singletonList("serialVersionUID"));

Review comment:
       Why modify this place, `java.util.Arrays.ArrayList` and 
`java.util.Collections.SingletonList` have the same parent class.




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