[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: RFR: 8298090: Use String.join() instead of manual loop in DescriptorSupport.toString
From: Andrey Turbanov <aturbanov () openjdk ! org>
Date: 2022-12-05 8:35:56
Message-ID: m1C88GocLp4PBQlVDsiEKUa89uom8q9SgEIhWC0X3Xc=.0638185f-a6c5-4de1-b0d3-b335f496c8cf () github ! com
[Download RAW message or body]
There is opportunity to use String.join in DescriptorSupport.toString implementation. Result code is much shorter and clearer.
-------------
Commit messages:
- [PATCH] Use String.join() instead of manual loop in DescriptorSupport
Changes: https://git.openjdk.org/jdk/pull/10960/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10960&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8298090
Stats: 9 lines in 1 file changed: 0 ins; 7 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/10960.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10960/head:pull/10960
PR: https://git.openjdk.org/jdk/pull/10960
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic