Integrated: 8337268: Redundant Math.ceil in StyleSheet.ListPainter#drawShape

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Jul 30 03:06:40 UTC 2024


On Fri, 26 Jul 2024 16:45:31 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Math.ceil call with integer argument is redundant as it returns the same value without Math.ceil, so it is removed..
> CI testing is green and JDK-8202013 regression testcase for which the code was added, is not affected..

This pull request has now been integrated.

Changeset: 7e21d4c1
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7e21d4c1916d6690b717911179314c26a0da5ed9
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8337268: Redundant Math.ceil in StyleSheet.ListPainter#drawShape

Reviewed-by: prr, aivanov

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

PR: https://git.openjdk.org/jdk/pull/20358


More information about the client-libs-dev mailing list