On 09/01/2011 20:51, Konstantin Kolinko wrote:
> Is there a reason why Checkstyle does not like "static import"s ?

[1] explains the reasoning. Generally they are bad, but usually OK for
constants (as in this case).

> Can it be configured to like them?
> (or it is not worth as you think that with those explicit
> "SimpleHttpClient.CRLF" etc. are more readable)?

Worth adding an exception for this one. It was more readable before the
change.

I'm working on Jira at the moment but if I get that working I'll take a
look at this unless you get there before me.

Mark

[1] http://checkstyle.sourceforge.net/config_imports.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to