> - `MethodType.ptypes()` can be used instead of `MethodType.parameterList()` > when we don't need a copy > - comparison of two lists can be done without `Stream.reduce()`
Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision: Simplify ------------- Changes: - all: https://git.openjdk.org/jdk/pull/12025/files - new: https://git.openjdk.org/jdk/pull/12025/files/e9e0baa0..6d1397c4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=12025&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12025&range=00-01 Stats: 6 lines in 1 file changed: 1 ins; 2 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/12025.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12025/head:pull/12025 PR: https://git.openjdk.org/jdk/pull/12025