I still get warnings despite changing my code to generics.  Is it
necessary to remove the gwt.typeArgs annotation to get rid of the
warnings?

-Mark

On Nov 24, 7:09 am, Jason Morris <[EMAIL PROTECTED]> wrote:
> You need to switch to using the Java 5 way of declaring Collections (ie: 
> using generics):
>
> public List<ToolOptions> toolList = null;
>
> slledru wrote:
> > I am trying to move my app from 1.4 to 1.5.3.
> > I am using ant to build and am getting following warnings and would
> > like to get rid of them.
> > What am I doing wrong?
> > I am using JDK1.6.
>
> >      [java] Scanning source for uses of the deprecated gwt.typeArgs
> > javadoc annotation; please use Java parameterized types instead
> >      [java]    Type com.sirsidynix.client.request.report.ReportRunInfo
> >      [java]       Field toolList
> >      [java]          [WARN] Unable to recognize
> > 'java.util.Listjava.util.List' as a type name (is it fully qualified?)
> >      [java] com.google.gwt.core.ext.typeinfo.NotFoundException: Unable
> > to recognize 'java.util.Listjava.util.List' as a type name (is it
> > fully qualified?)
> >      [java]        at com.google.gwt.core.ext.typeinfo.TypeOracle.parseImpl
> > (TypeOracle.java:892)
>
> > And in ReportRunInfo, I have:
> > /**
> >  * @gwt.typeArgs
> > java.util.List<com.sirsidynix.client.reports.tools.ToolOptions>
> >  */
> > public List toolList = null;

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to