axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hart, Leo" <Leo.H...@fmr.com>
Subject RE: Compiler Warnings After Code Generation
Date Tue, 23 Oct 2007 11:59:06 GMT
Ah...so I need to wait until they bring it up to 1.5.  I'll look on the
project timeline and see if they indicate that somewhere.  
 
Thanks!


  _____  

	From: keith chapman [mailto:keithgchapman@gmail.com] 
	Sent: Monday, October 22, 2007 10:01 PM
	To: axis-user@ws.apache.org
	Subject: Re: Compiler Warnings After Code Generation
	
	
	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 <Leo.Hart@fmr.com> 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/ 


Mime
View raw message