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

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

Commit messages:
 - 8337457: Redundant Math.round call in AquaProgressBarUI#getStringPlacement

Changes: https://git.openjdk.org/jdk/pull/20400/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20400&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337457
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/20400.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20400/head:pull/20400

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

Reply via email to