Details
Description
StringUtils.chopNewLine doesn't handle a single char string of "\n". It looks
for the previous char to see if it's "\r" which causes it to throw exception.
StringUtils.chopNewLine doesn't handle a single char string of "\n". It looks
for the previous char to see if it's "\r" which causes it to throw exception.