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:07:00 UTC
[jira] [Commented] (DIRSTUDIO-1300) Use LookupTranslator instead of chained replace() calls
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553200#comment-17553200 ]
Fredrik Roubert commented on DIRSTUDIO-1300:
--------------------------------------------
https://github.com/apache/directory-studio/pull/37
> 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