commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IO-159) FileCleaningTracker: ReferenceQueue uses raw type
Date Thu, 04 Dec 2008 00:01:44 GMT

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


Mime
View raw message