RFR: 8284672: Collapse identical catch branches in java.desktop [v3]
Andrey Turbanov
aturbanov at openjdk.org
Mon Jun 20 07:49:10 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
move '}' to new line
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/8154/files
- new: https://git.openjdk.org/jdk/pull/8154/files/66906b3c..028be325
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=8154&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=8154&range=01-02
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/8154.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/8154/head:pull/8154
PR: https://git.openjdk.org/jdk/pull/8154
More information about the client-libs-dev
mailing list