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/03 02:35:28 UTC
[GitHub] [commons-lang] Stzx commented on a change in pull request #479:
StringUtil Abbreviation method fixed
Stzx commented on a change in pull request #479: StringUtil Abbreviation method fixed
URL: https://github.com/apache/commons-lang/pull/479#discussion_r341832864
##########
File path: src/main/java/org/apache/commons/lang3/StringUtils.java
##########
@@ -362,6 +363,8 @@ public static String abbreviate(final String str, final String abbrevMarker, int
return abbrevMarker + abbreviate(str.substring(offset), abbrevMarker, maxWidth - abbrevMarkerLength);
}
return abbrevMarker + str.substring(str.length() - (maxWidth - abbrevMarkerLength));
+
Review comment:
Extra line.
----------------------------------------------------------------
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