On Wed, 31 Jul 2024 07:12:35 GMT, Prasanta Sadhukhan <[email protected]> wrote:
> Since Math.round with integer argument returns the same value, and also > since all arguments and calculations in the > AquaProgressBarUI#getStringPlacement are integer arithmetic, Math.round is > redundant and can be removed This pull request has now been integrated. Changeset: 65646b5f Author: Prasanta Sadhukhan <[email protected]> URL: https://git.openjdk.org/jdk/commit/65646b5f81279a7fcef3ea04ef9894cf66f77a5a Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod 8337457: Redundant Math.round call in AquaProgressBarUI#getStringPlacement Reviewed-by: azvegint ------------- PR: https://git.openjdk.org/jdk/pull/20400
