RFR (JDK10/JAXP) 8181150: Fix lint warnings in JAXP repo: rawtypes and unchecked

Joe Wang huizhe.wang at oracle.com
Thu Oct 12 18:24:03 UTC 2017


Hi,

Please review a cleanup of rawtypes and unchecked warnings from JAXP 
sources.

The patch involved a good number of classes (278). However, the majority 
of the changes are straight-forward replacement, e.g. 
s/Vector/List[ArrayList] and their relevant methods e.g. s/elementAt/get 
and etc. In a few cases, ArrayIndexOutOfBoundsException was substituted 
with IndexOutOfBoundsException as they were caught.

A few cleanups unrelated to rawtypes and unchecked were made before 
Roger's suggestion to stay within the scope of the request, that is, a 
couple of StringBuffer substitution, other than that this changeset is 
almost rawtypes and unchecked cleanup only.

JBS: https://bugs.openjdk.java.net/browse/JDK-8181150
webrevs: http://cr.openjdk.java.net/~joehw/jdk10/8181150/webrev/

Thanks,
Joe



More information about the core-libs-dev mailing list