Integrated: 1292: Empty commit message causes IndexOutOfBoundsException

Erik Joelsson erikj at openjdk.java.net
Mon Dec 20 17:57:28 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.

This pull request has now been integrated.

Changeset: f95f606e
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/f95f606e226ded17e39dcd21028eed789156f8d4
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

1292: Empty commit message causes IndexOutOfBoundsException

Reviewed-by: kcr

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

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


More information about the skara-dev mailing list