On 10/20/2010 11:12 AM, Sergiu Dumitriu wrote:
On 10/20/2010 02:00 PM, Caleb James DeLisle wrote:
I would like to propose establishing a documented
rule for trailing whitespace which follows the
current defacto standard laid out by the IDE's.
Trailing whitespace in java files is unacceptable except in an empty line in a javadoc
comment in
which case a single space is required.
/**
* My Cool Method.
*<----- trailing whitespace goes here.
* @param something...
*/
WDYT?
+1, with the amendment that in javadocs it's not required, but allowed.
+1 same amendment, and I understand that's what Vincent wanted as well.
I will document it now.
This might cause a refactoring conflict: X commits a codestyle change
removing the spaces, Y commits a codestyle change adding the spaces.
Since I'm using git, and I always do "git add --interactive", I can
filter out this kind of changes.