RFR: 1292: Empty commit message causes IndexOutOfBoundsException

Kevin Rushforth kcr at openjdk.java.net
Fri Dec 17 23:25:22 UTC 2021


On Fri, 17 Dec 2021 22:07:03 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> This patch fixes an IndexOutOfBoundsException which occurs when a new repository is configured and it contains commits with an empty message. The message() here represents the commit message as a List<String> with one item for each line. If the message is empty, the list is empty. From what I can tell, returning an empty string in that case should work fine.

Marked as reviewed by kcr (Reviewer).

-------------

PR: https://git.openjdk.java.net/skara/pull/1265


More information about the skara-dev mailing list