You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex Herbert (Jira)" <ji...@apache.org> on 2023/07/16 07:28:00 UTC
[jira] [Commented] (TEXT-227) Remove unnecessary IF statement in AlphabetConverter
[ https://issues.apache.org/jira/browse/TEXT-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743499#comment-17743499 ]
Alex Herbert commented on TEXT-227:
-----------------------------------
Some more context would be useful here. I presume the current code was written for a reason (maybe performance). Can you highlight the particular code section?
> Remove unnecessary IF statement in AlphabetConverter
> ----------------------------------------------------
>
> Key: TEXT-227
> URL: https://issues.apache.org/jira/browse/TEXT-227
> Project: Commons Text
> Issue Type: Improvement
> Reporter: Dimitrios Efthymiou
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Removed unnecessary IF statement in AlphabetConverter, because the Character.toChars(i) can handle both single and double-width characters
--
This message was sent by Atlassian Jira
(v8.20.10#820010)