RFR (JDK10/JAXP) 8181151: Fix lint warnings in JAXP repo: cast

Lance Andersen lance.andersen at oracle.com
Tue Nov 7 19:47:25 UTC 2017

Looks OK Joe
> On Nov 7, 2017, at 2:12 PM, Joe Wang <huizhe.wang at oracle.com> wrote:
> Hi,
> This change fixes about 300 [cast] warnings in the JAXP sources. Changes are basically removing the redundant cast, a bit more than that only in one case: in XSDUniqueOrKeyTraverser at line 92, uniqueOrKey was assigned to itself when it meant to be "idc". The change didn't affect the operation since idc is a result of the get operation with uniqueOrKey's name.
> JAXP tests passed.
> JBS: https://bugs.openjdk.java.net/browse/JDK-8181151
> webrevs: http://cr.openjdk.java.net/~joehw/jdk10/8181151/webrev/
> Thanks,
> Joe

 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>

More information about the core-libs-dev mailing list