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

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

Fredrik Roubert created DIRSTUDIO-1300:
------------------------------------------

             Summary: 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
             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