[
https://issues.apache.org/jira/browse/ARTEMIS-5957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066663#comment-18066663
]
ASF subversion and git services commented on ARTEMIS-5957:
----------------------------------------------------------
Commit 6403e566f79a85dc958fe86a8f76c57edee7c1f6 in artemis's branch
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=artemis.git;h=6403e566f7 ]
ARTEMIS-5957 consistent style for conditionals, etc.
> 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: 20m
> 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]