[xwiki-devs] [proposal] Establish code style rule for trailing whitespace.

Caleb James DeLisle calebdelisle at lavabit.com
Wed Oct 20 14:00:11 CEST 2010


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?

Caleb



More information about the devs mailing list