poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allison, Timothy B." <talli...@mitre.org>
Subject RE: style guidelines?
Date Fri, 29 May 2015 14:31:06 GMT
Thank you, Nick and Andi.

>> Can we limit this to X classes per package or X static imports?

I have a preference to avoid wildcards altogether.  In the ooxml classes, it makes it easier
to confirm that I'm triggering the classes that we need downstream in ooxml-schemas for Tika.

I defer, though, to you and the other devs on this item.

-----Original Message-----
From: Andreas Beeker [mailto:kiwiwings@apache.org] 
Sent: Thursday, May 28, 2015 5:11 PM
To: POI Developers List
Subject: Re: style guidelines?

On 28.05.2015 21:36, Allison, Timothy B. wrote:
> 4) don't use wildcards on imports

This is something I'd like to  change.
Can we limit this to X classes per package or X static imports?

For common_sl, I've used a setting of 3 full imports, and for a higher number wildcards will
be used.
The only ambiguity which comes up regularly is java.util/awt.List

It's ok if we decide differently, there's a shortcut for it in Eclipse ... before I merge
the branch.

Andi



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

Mime
View raw message