RFR: JDK-8297413: Remove easy warnings in javafx.graphics [v2]

Kevin Rushforth kcr at openjdk.org
Tue Nov 29 17:42:33 UTC 2022


On Tue, 22 Nov 2022 21:34:44 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> John Hendrikx has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix indentation
>
> modules/javafx.graphics/src/main/java/com/sun/prism/es2/ES2VramPool.java line 54:
> 
>> 52:     {
>> 53:         // REMIND: need to deal with size of depth buffer, etc.
>> 54:         return (long) width * height * 4;
> 
> DItto

As with the other occurrences, `4L * width * height` would be clearer.

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

PR: https://git.openjdk.org/jfx/pull/960


More information about the openjfx-dev mailing list