SonarQube Java
  1. SonarQube Java
  2. SONARJAVA-191

Rule: Right curly brace and next 'else', 'catch' and 'finally' keywords should be located on the same line

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: Rules
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This rule should lead to the deactivation of Checkstyle rule com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck

        Issue Links

          Activity

          Hide
          Freddy Mallet added a comment -
          Show
          Freddy Mallet added a comment - Implements http://jira.sonarsource.com/browse/RSPEC-1107
          Hide
          Dinesh Bolkensteyn added a comment -

          Done

          Show
          Dinesh Bolkensteyn added a comment - Done
          Hide
          Dinesh Bolkensteyn added a comment - - edited

          7,409 violations, the JDK uses conflicting styles

          Show
          Dinesh Bolkensteyn added a comment - - edited 7,409 violations, the JDK uses conflicting styles
          Hide
          Fabrice Bellingard added a comment -

          Tested!

          Just a minor update: the code snippet is not correct => "()" is missing after "myMethod".
          (you can close the ticket once this is fixed, no need to reassign it to me)

          Show
          Fabrice Bellingard added a comment - Tested! Just a minor update: the code snippet is not correct => "()" is missing after "myMethod". (you can close the ticket once this is fixed, no need to reassign it to me)
          Hide
          Dinesh Bolkensteyn added a comment -

          Done

          Show
          Dinesh Bolkensteyn added a comment - Done

            People

            • Assignee:
              Dinesh Bolkensteyn
              Reporter:
              Freddy Mallet
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: