commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject RE: [collections] XxxUtils inner classes
Date Wed, 02 Apr 2003 21:13:59 GMT

Yep. Standard is:

Match the style of the source, unless it's expressly stated in the Sun
coding standard.


Restyling source is rude :)

Hen

On Wed, 2 Apr 2003, SPRINGER,IAN (HP-NewJersey,ex1) wrote:

> I agree there are two camps. A decent way to compromise is to use explicit
> imports unless there are n or more imports from a particular package.
>
> I think more important than which style is used, is that the same style is
> used consistently across a project. Doesn't Apache have any standard defined
> for this?
>
> | -----Original Message-----
> | From: Alex Chaffee / Purple Technology [mailto:guru@stinky.com]
> | Sent: Wednesday, April 02, 2003 4:06 PM
> | To: Shapira, Yoav
> | Cc: Jakarta Commons Developers List; alex@jguru.com
> | Subject: Re: [collections] XxxUtils inner classes
> |
> |
> | On Wed, Apr 02, 2003 at 03:10:51PM -0500, Shapira, Yoav wrote:
> | >
> | > Howdy,
> | >
> | > >import org.apache.commons.collections.* good.
> | >
> | > Import org.apache.commons.collections.[onlyTheClassYouNeed]
> | is good.
> | >
> | > Import .* is annoying and all the jakarta projects should
> | have import
> | > cleanups as part of their build.xml IMHO.
> |
> | Oh, God, not this debate again.
> |
> | Look, there are two camps here, and I'm in the * camp and you're in
> | the explicit-import camp.  There's no need to structure things so that
> | one camp is going to be angry, even if you don't agree with their
> | reasons for being angry.  Organizing classes by maximal cohesion
> | should satisfy everyone.
> |
> | (If you like, I'd be happy to debate with you *off-list* and show you
> | the error of your anal ways :-))
> |
> | --
> | Alex Chaffee                               mailto:alex@jguru.com
> | Purple Technology - Code and Consulting    http://www.purpletech.com/
> | jGuru - Java News and FAQs                 http://www.jguru.com/alex/
> | Gamelan - the Original Java site           http://www.gamelan.com/
> | Stinky - Art and Angst                     http://www.stinky.com/
> |
> | ---------------------------------------------------------------------
> | To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> | For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> |
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message