[
https://issues.apache.org/jira/browse/ARTEMIS-5957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARTEMIS-5957:
------------------------------------
Labels: pull-request-available (was: )
> 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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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]