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/13 03:38:00 UTC

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

    [ https://issues.apache.org/jira/browse/SLING-11055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475090#comment-17475090 ] 

Dan Klco commented on SLING-11055:
----------------------------------

Pull request opened: https://github.com/apache/sling-org-apache-sling-repoinit-parser/pull/15

> 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: 20m
>  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)