On Oct 20, 2010, at 2:39 PM, Vincent Massol wrote:

> 
> On Oct 20, 2010, at 2: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?
> 
> Can you point out where in the javadoc spec it says there should be a 
> trailing space after the "*"?
> 
> If it's not in the javadoc then I don't agree that we should add trailing 
> white spaces just because Eclipse doesn't support it or something like that.
> 
> IDEA doesn't seem to add those spaces.

Just to be clear:
- I'd prefer never to have trailing spaces
- I'm ok to accept that due to some IDE limitation we accept trailing spaces in 
empty javadoc lines
- I don't want it to be enforced since I'm using a proper IDE and I don't want 
to have to refactor my code before committing it

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to