ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (Commented) (JIRA)" <>
Subject [jira] [Commented] (ACE-185) Checkstyle configuration for Apache ACE
Date Fri, 28 Oct 2011 08:50:32 GMT


Marcel Offermans commented on ACE-185:

Thanks a lot Jeremias for this contribution. Whilst I agree that it makes sense to add comments
to the source code to document things like empty blocks, or more in general, to comment on
any "non standard" construct you use in your code, I'm not directly in favor of changing the
style guide for it. For one, style guides to me should not be set in stone and should ever
prevail over common sense. Furthermore, I think that if you ask enough developers, you will
get different views and preferences for a style guide, so we have to make some decisions and
stick with them I guess.
> Checkstyle configuration for Apache ACE
> ---------------------------------------
>                 Key: ACE-185
>                 URL:
>             Project: Ace
>          Issue Type: Improvement
>            Reporter: Jeremias Maerki
>            Priority: Minor
>         Attachments:
> As promised a Checkstyle configuration file (for version 5.4). I've tried to match the
ACE style guide as closely as possible. Some minor things cannot be checked. And I've had
trouble mapping the empty blocks ({}) which I, BTW, don't like. I recommend to change that
rule to require at least a comment. I believe it's a good idea to explain why a block is left
empty. I've set the severity for WhitespaceAround to warning for now as a consequence.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message