You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (Jira)" <ji...@apache.org> on 2022/06/13 04:06:00 UTC

[jira] [Resolved] (DIRSTUDIO-1300) Use LookupTranslator instead of chained replace() calls

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

Stefan Seelmann resolved DIRSTUDIO-1300.
----------------------------------------
    Resolution: Fixed

> Use LookupTranslator instead of chained replace() calls
> -------------------------------------------------------
>
>                 Key: DIRSTUDIO-1300
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1300
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-ldapbrowser
>    Affects Versions: 2.0.0-M17
>            Reporter: Fredrik Roubert
>            Priority: Minor
>             Fix For: 2.0.0-M18
>
>
> Using chained calls to {{String.replace()}} is simple but suboptimal, it'd be better to use the [LookupTranslator|https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/translate/LookupTranslator.html] from the commons-text library instead.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org