XenoAmess commented on a change in pull request #115:
URL: https://github.com/apache/commons-io/pull/115#discussion_r432869943



##########
File path: 
src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java
##########
@@ -1406,7 +1406,7 @@ public void testFilterListNullParameters() {
 
         final IOFileFilter filter = FileFilterUtils.trueFileFilter();
         try {
-            FileFilterUtils.filterList(filter, Arrays.asList((File) null));
+            FileFilterUtils.filterList(filter, 
Collections.singletonList((File) null));

Review comment:
       @garydgregory it is only used as a Iterable there thus I think it has no 
actual difference IMO, exluding running speed.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to