commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IO-241) CompositeFileComparator(Comparator<File>... delegates) - Using varargs for non-reifiable type goes against type-safety
Date Tue, 28 Sep 2010 12:41:32 GMT

     [ https://issues.apache.org/jira/browse/IO-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton resolved IO-241.
--------------------------------

    Resolution: Won't Fix

Resolving this as WONTFIX

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


Mime
View raw message