RFR: 8337268: Redundant Math.ceil in StyleSheet.ListPainter#drawShape
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Jul 26 16:50:44 UTC 2024
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..
-------------
Commit messages:
- 8337268: Redundant Math.ceil in StyleSheet.ListPainter#drawShape
Changes: https://git.openjdk.org/jdk/pull/20358/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20358&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8337268
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20358.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20358/head:pull/20358
PR: https://git.openjdk.org/jdk/pull/20358
More information about the client-libs-dev
mailing list