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

Brad Walker closed NETBEANS-2839.
---------------------------------
    Resolution: Incomplete

I'm closing this because the fix needs more work...

I will rework the fix in a later issue..

> cleanup Class raw type..
> ------------------------
>
>                 Key: NETBEANS-2839
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2839
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Brad Walker
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> There are a LOT of the following warnings in the build..
> {quote}   [repeat] 
> /home/bwalker/netbeans/platform/openide.util/src/org/openide/util/NbPreferences.java:47:
>  warning: [rawtypes] found raw type: Class
>    [repeat]     public static Preferences forModule(Class cls) {
>    [repeat]                                         ^
>    [repeat]   missing type arguments for generic class Class<T>
>    [repeat]   where T is a type-variable:
>    [repeat]     T extends Object declared in class Class{quote}
> So change the definition from Class to Class<?>.. 
> This should reduce the warning and catch anything "gross" coding wise. But, 
> we really need to spend some time and trying to make this correct with a 
> proper type..



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to