You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/06/01 08:57:17 UTC

[GitHub] [commons-lang] XenoAmess commented on pull request #550: change_removeLastFieldSeparator_to_use_endsWith

XenoAmess commented on pull request #550:
URL: https://github.com/apache/commons-lang/pull/550#issuecomment-636713628


   or if you think StringUtils.endsWith() is low performance here, you can at least use StringBuffer.lastIndexOf.
   that is both high performance and readability.
   Or, you can wait for me to refine StringUtils.endWith.
   I'm refining CharSequenceUtils.lastIndexOf recently, and I have a plan to refine them all.
   see https://github.com/apache/commons-lang/pull/535


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org