RFR: 8277504: Use String.stripTrailing instead of hand-crafted method in SwingUtilities2

Andrey Turbanov duke at openjdk.java.net
Sat Nov 20 12:09:30 UTC 2021


There is opportunity to use String.stripTrailing() method in java.desktop in SwingUtilities2 class.

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

Commit messages:
 - [PATCH] Use String.stripTrailing instead of hand-crafted method in SwingUtilities2
 - [PATCH] Use String.stripTrailing instead of hand-crafted method in SwingUtilities2

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

PR: https://git.openjdk.java.net/jdk/pull/6436



More information about the client-libs-dev mailing list