[jira] [Created] (IGNITE-14361) Add WhiteSpace after checkstyle rule

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-14361) Add WhiteSpace after checkstyle rule

Anton Vinogradov (Jira)
Nikolay Izhikov created IGNITE-14361:
----------------------------------------

             Summary: Add WhiteSpace after checkstyle rule
                 Key: IGNITE-14361
                 URL: https://issues.apache.org/jira/browse/IGNITE-14361
             Project: Ignite
          Issue Type: Improvement
            Reporter: Nikolay Izhikov


Right now checkstyle plugin don't check whitespace after rule that allows the following violation of Ignite code style

{code:java}
finish.apply(p.id,msg.result(), msg.error());
 {code}

Need to add the following rule to prevent it:
{code:xml}
<suppressions>
    <suppress checks="EmptyLineSeparator|MethodParamPad|SingleSpaceSeparator"
              files="BCrypt\.java|ConcurrentLinkedDeque8\.java"/>
    <suppress checks="NoWhitespaceBefore" files="ConcurrentLinkedHashMap\.java"/>
</suppressions>
{code}



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