You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Phil Steitz <ph...@gmail.com> on 2009/08/28 03:18:12 UTC

[math] new checkstyle rules

I would like to add checks for

1) System.out.println() statements in the code
2) Trailing spaces
3) Files that do not end with newline characters

Currently 1) generates no errors, but 2) and 3) generate quite a few.

I will fix the errors in current sources and add the checks if others 
are OK with this.

The reason that I want to add 2) and 3) is to make it easier / less 
noisy when creating or applying patches when using editors that strip 
trailing spaces and/or expect source files to end with newlines.

Any objections?

Phil

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


Re: [math] new checkstyle rules

Posted by Bill Barker <bi...@verizon.net>.
----- Original Message ----- 
From: "Phil Steitz" <ph...@gmail.com>
To: "Commons Developers List" <de...@commons.apache.org>
Sent: Thursday, August 27, 2009 6:18 PM
Subject: [math] new checkstyle rules


>I would like to add checks for
> 
> 1) System.out.println() statements in the code
> 2) Trailing spaces
> 3) Files that do not end with newline characters
> 
> Currently 1) generates no errors, but 2) and 3) generate quite a few.
> 
> I will fix the errors in current sources and add the checks if others 
> are OK with this.
> 
> The reason that I want to add 2) and 3) is to make it easier / less 
> noisy when creating or applying patches when using editors that strip 
> trailing spaces and/or expect source files to end with newlines.
> 
> Any objections?
> 

+1 

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

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