RFR: CODETOOLS-7902237: Fixing raw use of parameterized class

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Jul 24 22:50:03 UTC 2018



On 07/24/2018 07:48 AM, dmitry.bessonov at oracle.com wrote:
> Please review the following fix related to "raw use of parameterized 
> class" warning:
>
> JBS: https://bugs.openjdk.java.net/browse/CODETOOLS-7902237
> Webrev: http://cr.openjdk.java.net/~dbessono/7902237/webrev/
>
> dmitry

General summary for additional IDE-based cleanup:

* Remove unnecessary parentheses, often a remnant from removing a 
preceding class

* Unnecessary array creation for varargs parameters, often found in 
calls in core-reflection

* Unnecessary use of Enumeration or Iterator when more modern constructs 
may be available

-- Jon


More information about the jtharness-dev mailing list