You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Belyak (Jira)" <ji...@apache.org> on 2021/12/01 12:16:00 UTC

[jira] [Created] (IGNITE-16035) Checkstyle rule for empty line with whitespace only.

Alexander Belyak created IGNITE-16035:
-----------------------------------------

             Summary: Checkstyle rule for empty line with whitespace only.
                 Key: IGNITE-16035
                 URL: https://issues.apache.org/jira/browse/IGNITE-16035
             Project: Ignite
          Issue Type: Task
          Components: general
            Reporter: Alexander Belyak
            Assignee: Alexander Belyak


Need to add some checkstyle rule to avoid empty lines with whitespaces only. Like rule in checkstyle-rules.xml:
{code:java}
<module name="RegexpSinglelineJava">
      <property name="format" value="^\s+$"/>
      <property name="message" value="Line contains a whitespace indent only."/>
      <property name="ignoreComments" value="true"/>
    </module>{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)