hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Style checks; Re: svn commit: r1658967
Date Mon, 16 Feb 2015 10:04:16 GMT
On Sat, 2015-02-14 at 21:47 +0100, Michael Osipov wrote:

...

> > Conditional statements should alwaya uae blocks please.
> 
> Already committed. Thanks for that one. Though, wondering why the 
> checkstyle goal did not fail during my build run.
> 
> Michael
> 

Michael

This is because it was not supposed to. The checkstyle plugin presently
enforces the following rules only:

* no tabs
* no trailing spaces
* ASLv2 headers
* no group imports (import by asterisk)
* redundant, unused, invalid imports
* #equals / #hashCode sanity
* arguments, instance and local variables must be final 

http://svn.apache.org/repos/asf/httpcomponents/hc-stylecheck/trunk/src/main/resources/hc-stylecheck/default.xml
 

Anyone willing to add more rules is very, very welcome to do so.

Oleg



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


Mime
View raw message