You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Ioan Eugen Stan (Jira)" <se...@james.apache.org> on 2020/06/17 13:43:00 UTC

[jira] [Commented] (JAMES-2535) Add declaration order checks to checkstyle

    [ https://issues.apache.org/jira/browse/JAMES-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17138444#comment-17138444 ] 

Ioan Eugen Stan commented on JAMES-2535:
----------------------------------------

Is this still an issue ? can we close this?

> Add declaration order checks to checkstyle
> ------------------------------------------
>
>                 Key: JAMES-2535
>                 URL: https://issues.apache.org/jira/browse/JAMES-2535
>             Project: James Server
>          Issue Type: Task
>            Reporter: Jean Helou
>            Priority: Minor
>
> Currently checkstyle doesn't check the declaration order of various class components. This was made quite clear by [https://github.com/linagora/james-project/pull/1681#discussion_r212547046]
> The default checkstyle rules do not include a rule which would make such a check possible but the incubator project for checkstyle ([http://sevntu-checkstyle.github.io/sevntu.checkstyle/)]
> I tried to add it but finding the correct order is not trivial and is quickly escaping the scope of my current goal hence the issue.
> Note that configuring this checkstyle for [intellij|https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/How-to-use-SevNTU-Checkstyle-in-Intellij-IDEA] and [netbeans|https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/How-to-use-SevNTU-Checkstyle-in-NetBeans] requires some additional efforts. Eclipse can be made to use a specfic checkstyle plugin 
> Note that configuring this checkstyle for [sonar|[https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/How-to-integrate-sevntu-checks-into-SonarQubeTM-(user's-guide)]] requires some additional efforts
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org