You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (Jira)" <ji...@apache.org> on 2022/01/27 17:20:00 UTC

[jira] [Resolved] (SLING-11055) Cleanup Repoinit Parser Code Smells

     [ https://issues.apache.org/jira/browse/SLING-11055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Klco resolved SLING-11055.
------------------------------
    Resolution: Fixed

PR Merged

> Cleanup Repoinit Parser Code Smells
> -----------------------------------
>
>                 Key: SLING-11055
>                 URL: https://issues.apache.org/jira/browse/SLING-11055
>             Project: Sling
>          Issue Type: Improvement
>          Components: Repoinit
>    Affects Versions: Repoinit Parser 1.6.10
>            Reporter: Dan Klco
>            Assignee: Dan Klco
>            Priority: Trivial
>             Fix For: Repoinit Parser 1.6.12
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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



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