If you are using Eclipse, you can import with a wildcard, then press
CTRL+SHIFT+O (to [O]rganise the imports and give you only what you need)

Ian

http://examples.roughian.com


2009/12/21 Isaac Truett <[email protected]>

> No, it doesn't change the compiler output. Wildcard imports are
> considered to be a poor coding practice by many Java developers.
>
>
> On Mon, Dec 21, 2009 at 10:39 AM, S Frazier <[email protected]>
> wrote:
> > The StockWatcher tutorial has me adding imports for each and every
> > class that it needs to use without explaining whether there's a reason
> > for not just using wildcards. Importing with
> >
> >     import com.google.gwt.user.client.ui.*;
> >
> > would seem to be more expedient, but does the compiler naively add
> > more [unused] junk to the final JavaScript?
> >
> > Thanks,
> > --Shon
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> > To post to this group, send email to [email protected]
> .
> > To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> > For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
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