Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.glorb.com!news-spur2.glorb.com!homer.glorb.com!.POSTED!not-for-mail From: Steve Sobol Newsgroups: comp.lang.java.programmer Subject: Re: A question about some long java code that has getters/setters Date: Sat, 23 Jul 2011 23:39:58 -0700 Organization: Glorb Internet Services, http://www.glorb.com Lines: 28 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: iPkerGyBvEjTeMef7hbH9w.user.posting2.glorb.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@glorb.com NNTP-Posting-Date: Sun, 24 Jul 2011 06:40:15 +0000 (UTC) User-Agent: MicroPlanet-Gravity/3.0.4 X-Notice: Scanned by Mr. Bill Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6498 In article <4e2b4456$0$306$14726298@news.sunsite.dk>, Arne Vajhøj says... > > On 7/23/2011 1:41 PM, blmblm@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. In code meant > > for display in dead-tree documentation, though .... > > 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, but in Eclipse, updating your list of specific imports can be done by hitting Ctrl-Shift-O. ("Organize Imports") Takes a fraction of a second :) -- Steve Sobol - Programming/WebDev/IT Support sjsobol@JustThe.net