Get rid of redundant cast to javax.xml.bind.JAXBElement<java.lang.Boolean> warning from CXF-generate

Posted by Binary255 on Stack Overflow See other posts from Stack Overflow or by Binary255
Published on 2010-04-01T09:39:00Z Indexed on 2010/04/01 9:43 UTC
Read the original article Hit count: 352

Filed under:
|
|
|
|

I generate some code using CXF from a WSDL-file. When compiling the code with version "1.6.0_16" with the flag -Xlint I get the following warning:

warning: [cast] redundant cast to javax.xml.bind.JAXBElement<java.lang.Boolean>
   [javac]         this.r = ((JAXBElement<Boolean> ) value);

What does the warning mean, should I be worried? As I have generated and not written the code, what can I do to get rid of this specific warning?

© Stack Overflow or respective owner

Related posts about cxf

Related posts about apache-cxf