The reason is that Axis2 is JDK 1.4 compatible and hence it does not use
Generics. There warnings pop up because your project uses JDK 1.5 and the
code generated by Axis2 is JDK 1.4 compatible (Without Generics).

Thanks,
Keith.

On 10/22/07, Hart, Leo <[EMAIL PROTECTED]> wrote:
>
>  Hello,
>
> I've used the wsdl2java command-line tool to create a client stub for my
> WSDL.  The code works fine, however now I have hundreds of warnings in
> Eclipse and my ant builds, pointing to the generated code.  Some of these
> include:
>
>    - Class is a raw type. References to generic type Class<T> should be
>    parameterized
>    - Empty block should be documented
>    - HashSet is a raw type. References to generic type HashSet<E>
>    should be parameterized
>    - The local variable other is never read
>
> Now I realize that I can go into the compiler settings within Eclipse and
> turn off these warnings for a project, but I would like to receive these
> warning for code my team has generated.  Does anyone have any suggestions
> around suppressing/fixing these warnings?
>
> Thanks,
> Leo
>



-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to