Integrated: JDK-8267481: Make sure table row has correct number of cells

Hannes Wallnöfer hannesw at openjdk.java.net
Thu May 20 15:14:35 UTC 2021


On Thu, 20 May 2021 14:38:08 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> This is a trivial change to throw a NPE or IllegalArgumentException if the number of cells passed to `addRow` does not match the number of column styles. (The non-nullness of `columnStyles` is already implied by other Table methods such as `toContent()`.)

This pull request has now been integrated.

Changeset: b7b6acd9
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b7b6acd9b1cafb791827e151712836c4e7140db5
Stats:     6 lines in 1 file changed: 3 ins; 2 del; 1 mod

8267481: Make sure table row has correct number of cells

Reviewed-by: jjg

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

PR: https://git.openjdk.java.net/jdk/pull/4131


More information about the javadoc-dev mailing list