Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11055

Cleanup Repoinit Parser Code Smells

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Repoinit Parser 1.6.10
    • Repoinit Parser 1.6.12
    • Repoinit
    • None

    Description

      There are 31 open code smells identified by SonarQube for the RepoInit Parser:
      https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-repoinit-parser&resolved=false&types=CODE_SMELL

      Most are trivial to fix and don't impact the public surface, such as:

      • removing unneeded semi-colons
      • not specifying second generic parameters
      • ensuring assertions are present in all tests
      • including the override annotations

      There are a few that would either be more difficult to resolve or may change the public surface and therefore aren't going to be addressed in this ticket, specifically:

      • code duplication
      • avoiding built in exception types
      • enum naming

      Attachments

        Activity

          People

            dklco Dan Klco
            dklco Dan Klco
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 0.5h
                0.5h