Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.glorb.com!postnews.google.com!v11g2000prn.googlegroups.com!not-for-mail From: lewbloch Newsgroups: comp.lang.java.programmer Subject: Re: A question about some long java code that has getters/setters Date: Tue, 26 Jul 2011 09:03:12 -0700 (PDT) Organization: http://groups.google.com Lines: 31 Message-ID: References: <1672e2f1-a963-4fcf-b651-41b69432c9d7@p29g2000pre.googlegroups.com> <990fdfF8n9U3@mid.individual.net> <4e2b4456$0$306$14726298@news.sunsite.dk> NNTP-Posting-Host: 172.19.62.109 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1311696192 16798 127.0.0.1 (26 Jul 2011 16:03:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 26 Jul 2011 16:03:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v11g2000prn.googlegroups.com; posting-host=172.19.62.109; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ASELCHRU X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6582 On Jul 23, 11:39=A0pm, Steve Sobol wrote: > In article <4e2b4456$0$306$14726...@news.sunsite.dk>, Arne Vajh=F8j > says... > > > > > On 7/23/2011 1:41 PM, blm...@myrealbox.com wrote: > > >> It's also bad practice to use import-on-demand (import '*') rather > > >> than single-type imports. > > > > In code meant for compiling and execution, agreed. =A0In code meant > > > for display in dead-tree documentation, though .... =A0 > > > Having specific imports makes it easier to see where the classes > > come from. > > > I would tend to say that is even more important for dead tree docs > > than for code. > > I agree. And I can't speak for other IDE's [sic], but in Eclipse, updatin= g > your list of specific imports can be done by hitting Ctrl-Shift-O. > ("Organize Imports") > > Takes a fraction of a second :) I believe it's Ctrl-Shift-I for the exact same feature in NetBeans. No doubt IntelliJ and others have the same feature. -- Lew