On Tue, 5 May 2026 15:34:04 GMT, Alexey Ivanov <[email protected]> wrote:

>> src/java.desktop/share/classes/java/awt/image/Raster.java line 204:
>> 
>>> 202:      *         both > 0
>>> 203:      * @throws IllegalArgumentException if the product of {@code w}
>>> 204:      *         {@code h} and {@code bands} is greater than {@code 
>>> Integer.MAX_VALUE}
>> 
>> Since there are three arguments to multiplication now, a comma is required 
>> after `{@code w}`, otherwise it will look odd: “if the product of `w` `h` 
>> and `bands`…
>
> Use `&mult;` or directly `×`?
> 
> w × h × bands?

I think adding a comma is sufficient.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31014#discussion_r3305788953

Reply via email to