You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2021/06/21 08:56:00 UTC

[jira] [Closed] (SLING-10361) Extra space in DisableServiceUser.asRepoInitString

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

Bertrand Delacretaz closed SLING-10361.
---------------------------------------

> Extra space in DisableServiceUser.asRepoInitString
> --------------------------------------------------
>
>                 Key: SLING-10361
>                 URL: https://issues.apache.org/jira/browse/SLING-10361
>             Project: Sling
>          Issue Type: Bug
>          Components: Repoinit
>    Affects Versions: Repoinit Parser 1.6.8
>            Reporter: Angela Schreiber
>            Assignee: Angela Schreiber
>            Priority: Trivial
>             Fix For: Repoinit Parser 1.6.10
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> [~kpauls] spotted:
> {code}
> final String userType = isServiceUser ? "service " : "";
> return String.format("disable %s user %s : %s%n", userType, username, escapeQuotes(reason));
> {code}
> results in an redundant extra space.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)