Re: Can't solve warnings

2008-12-10 Thread David Hoffer
I don't think you should use Object as a generic type. Dave Hoffer - sent via G1 On Dec 10, 2008 12:30 PM, "MMM" <[EMAIL PROTECTED]> wrote: Thanks Isaac and Thomas. I upgrade to GWT 1.5, but I still have two warnings: --First: Type safety: The expression of type List needs unchecked conversio

Re: Can't solve warnings

2008-12-10 Thread MMM
Thanks Isaac and Thomas. I upgrade to GWT 1.5, but I still have two warnings: --First: Type safety: The expression of type List needs unchecked conversion to conform to List Code: FileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new

Re: Can't solve warnings

2008-12-10 Thread Thomas Broyer
On 9 déc, 18:58, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > Either upgrade to GWT 1.5 (which does support Java 1.5 syntax) or > downgrade to Java 1.4. Where "downgrade to Java 1.4" just means "ask your IDE to use Java 1.4 source compatibility. In Eclipse, in your project's properties, Java Co

Re: Can't solve warnings

2008-12-09 Thread Isaac Truett
Either upgrade to GWT 1.5 (which does support Java 1.5 syntax) or downgrade to Java 1.4. On Tue, Dec 9, 2008 at 6:59 AM, MMM <[EMAIL PROTECTED]> wrote: > > Hi, first of all sorry for my English and sorry if I wrote this post > in wrong place. > I have a problem. I wrote this code: >... >

Can't solve warnings

2008-12-09 Thread MMM
Hi, first of all sorry for my English and sorry if I wrote this post in wrong place. I have a problem. I wrote this code: ... Vector vector = new Vector(); HashMap map = new HashMap(); ... This code has these warnings: Vector is a raw type. References to gen