You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2008/12/04 01:01:44 UTC

[jira] Commented: (IO-159) FileCleaningTracker: ReferenceQueue uses raw type

    [ https://issues.apache.org/jira/browse/IO-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653071#action_12653071 ] 

Paul Benedict commented on IO-159:
----------------------------------

The issue deals with best practices coding Java 5. Raw types should not be favored. You will remove warnings, but why not add type safety? Closing it as WONTFIX is inappropriate; it is not a known issue that will never be fixed. Someone will eventually do it :-) Raw types are may be phased out one day by the compiler, as the JSL warns. Just make it low priority and Future release.

> FileCleaningTracker: ReferenceQueue uses raw type
> -------------------------------------------------
>
>                 Key: IO-159
>                 URL: https://issues.apache.org/jira/browse/IO-159
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Paul Benedict
>            Priority: Minor
>             Fix For: 2.0
>
>
> The field is:
> ReferenceQueue /* Tracker */ q = new ReferenceQueue();
> But that inline comment needs to become the parameterized type. Is it of type <?> ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.