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

Jonathan Gibbons jjg at openjdk.java.net
Thu May 20 14:51:42 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()`.)

Marked as reviewed by jjg (Reviewer).

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

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


More information about the javadoc-dev mailing list