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 2019/11/02 18:27:53 UTC

[GitHub] [commons-lang] isaacg97 opened a new pull request #479: StringUtil Abbreviation method fixed

isaacg97 opened a new pull request #479: StringUtil Abbreviation method fixed
URL: https://github.com/apache/commons-lang/pull/479
 
 
   Abbreviation method was returning the string in full if abbrevMarker was ""
   
   was this
   `if (isEmpty(str) || isEmpty(abbrevMarker ) {
               return str;
           }`
   
   needed to be this
   `if (isEmpty(str) || abbrevMarker == null ) {
               return str;
           }`
   

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


With regards,
Apache Git Services