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.

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.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to