Brad Walker created NETBEANS-2839:
-------------------------------------

             Summary: cleanup Class raw type..
                 Key: NETBEANS-2839
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2839
             Project: NetBeans
          Issue Type: Bug
            Reporter: Brad Walker


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: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to