Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16035

Checkstyle rule for empty line with whitespace only.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • general
    • Docs Required, Release Notes Required

    Description

      Need to add some checkstyle rule to avoid empty lines with whitespaces only. Like rule in checkstyle-rules.xml:

      <module name="RegexpSinglelineJava">
            <property name="format" value="^\s+$"/>
            <property name="message" value="Line contains a whitespace indent only."/>
            <property name="ignoreComments" value="true"/>
          </module>

      Attachments

        Issue Links

          Activity

            People

              Berkov Alexander Belyak
              Berkov Alexander Belyak
              Alexey Scherbakov Alexey Scherbakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m