james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean Helou (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2535) Add declaration order checks to checkstyle
Date Tue, 28 Aug 2018 10:49:00 GMT
Jean Helou created JAMES-2535:

             Summary: 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

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

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

View raw message