jordanjenkins opened a new pull request #478: StringUtils.abbreviate handles empty abbrevMarker URL: https://github.com/apache/commons-lang/pull/478 StringUtils.abbreviate would not abbreviate properly when an empty String was passed to abbrevMarker or abbrevMarker is null Expected behaviour: abbreviate("much too long text", "", 13).equals("much too long") Actual behaviour: abbreviate("much too long text", "", 13).equals("much too long text") Behaves the same when abbrevMarker is null. Added if statements to handle empty and null abbrevMarker Passed all tests
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services