Uploaded image for project: 'SonarPLSQL'
  1. SonarPLSQL
  2. SONARPLSQL-736

MultiLineCommentFormatCheck should not expect the last comment line to be empty

    XMLWordPrintable

    Details

    • Type: False-Positive
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5
    • Component/s: Rules
    • Labels:
      None

      Description

      MultiLineCommentFormatCheck (RSPEC-2488) should not raise an issue in the following case:

      /* first line
      * last line */
      

      The current implementation raises an issue with a message which is strange in that case: Each line in a multi-line comment should start with a "*" character.
      The description of the rule does not mention anything about the last line.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amelie.renard Amélie Renard
              Reporter:
              pierre-yves.nicolas Pierre-Yves Nicolas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: