You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/01 11:56:22 UTC

[PR] StringUtils.chopNewline(''): prevent StringIndexOutOfBoundsException [maven-shared-utils]

elharo opened a new pull request, #380:
URL: https://github.com/apache/maven-shared-utils/pull/380

    throws  because  evaluates to  when  is empty, then  reads at index .
   
   Added an empty-string guard before computing , consistent with the guard already used by .
   
   Fixes https://github.com/apache/maven-shared-utils/issues/379


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

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

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


Re: [PR] StringUtils.chopNewline(''): prevent StringIndexOutOfBoundsException [maven-shared-utils]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo merged PR #380:
URL: https://github.com/apache/maven-shared-utils/pull/380


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

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

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