You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Tianyin Xu (JIRA)" <ji...@apache.org> on 2017/07/07 00:11:00 UTC

[jira] [Created] (APLO-399) Code style issues

Tianyin Xu created APLO-399:
-------------------------------

             Summary: Code style issues
                 Key: APLO-399
                 URL: https://issues.apache.org/jira/browse/APLO-399
             Project: ActiveMQ Apollo
          Issue Type: New Feature
            Reporter: Tianyin Xu


Hi, 

I was trying hard to find the code-style specifications in the current code base, 
but failed (let me know if it's somewhere). 

I run {{CheckStyle}} on the current code base, and see that the style is very inconsistent.

Pick {{apollo-util/src/main/scala/org/apache/activemq/apollo/util/Scheduler.java}} in trunk for example, 
in the 58 lines of code, there're 4 lines using {{tab}} for indentation and the rest using {{4 space}}.
(there are many like this)

There're also many other inconsistent style issues, such as all different {{LineLength}} and redundant {{import}}.

Let me know if you'd like to integrate {{CheckStyle}} or something alike in the Maven build
(which can rule out such issues)

Thanks! 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)