CompositeFileComparator(Comparator<File>... delegates) - Using varargs for
non-reifiable type goes against type-safety
----------------------------------------------------------------------------------------------------------------------
Key: IO-241
URL: https://issues.apache.org/jira/browse/IO-241
Project: Commons IO
Issue Type: Bug
Affects Versions: 2.0
Reporter: Sebb
The constructor CompositeFileComparator(Comparator<File>... delegates) cannot
be used without generating a Type safety warning.
This is because the type is not reifiable.
This is a new class, so I suggest this constructor is replaced with something
that supports type-safety, for example List.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.