RFR: 8284672: Collapse identical catch branches in java.desktop [v2]
Andrey Turbanov
aturbanov at openjdk.java.net
Wed Jun 1 20:55:30 UTC 2022
> Let's take advantage of Java 7 language feature - "Catching Multiple Exception Types".
> It simplifies code. Reduces duplication.
> Found by IntelliJ IDEA inspection Identical 'catch' branches in 'try' statement
Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
8284672: Collapse identical catch branches in java.desktop
fix formatting
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8154/files
- new: https://git.openjdk.java.net/jdk/pull/8154/files/bc19ec42..66906b3c
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8154&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8154&range=00-01
Stats: 3 lines in 2 files changed: 0 ins; 1 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/8154.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8154/head:pull/8154
PR: https://git.openjdk.java.net/jdk/pull/8154
More information about the client-libs-dev
mailing list