[
https://issues.apache.org/jira/browse/ARTEMIS-5957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-5957:
------------------------------------
Description:
In many places across the code-base there are instance of things like this:
{code:java}
if (condition) ...;{code}
{code:java}
if (condition)
...;{code}
{code:java}
if (condition) {
...;
}{code}
These should all use a consistent style like:
{code:java}
if (condition) {
...;
}{code}
Checkstyle can enforce this for us using the {{NeedBraces}} module.
was:
In many places across the code-base there are instance of things like this:
{code:java}
if (condition) ...;{code}
{code:java}
if (condition)
...;{code}
{code:java}
if (condition) {
...;
}{code}
These should all use a consistent style like:
{code:java}
if (condition) {
...;
}{code}
> Ensure consistent style for one-line conditionals, etc.
> -------------------------------------------------------
>
> Key: ARTEMIS-5957
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5957
> Project: Artemis
> Issue Type: Task
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
>
> In many places across the code-base there are instance of things like this:
> {code:java}
> if (condition) ...;{code}
> {code:java}
> if (condition)
> ...;{code}
> {code:java}
> if (condition) {
> ...;
> }{code}
> These should all use a consistent style like:
> {code:java}
> if (condition) {
> ...;
> }{code}
> Checkstyle can enforce this for us using the {{NeedBraces}} module.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]