Integrated: 8284567: Collapse identical catch branches in java.base
Andrey Turbanov
aturbanov at openjdk.java.net
Mon Apr 11 09:35:38 UTC 2022
On Sat, 2 Apr 2022 16:05:06 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: f4edb59a
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/f4edb59a6e44d99ba215ee6970ffa6fb26b4798c
Stats: 106 lines in 17 files changed: 0 ins; 60 del; 46 mod
8284567: Collapse identical catch branches in java.base
Reviewed-by: darcy, iris, wetmore
-------------
PR: https://git.openjdk.java.net/jdk/pull/8081
More information about the core-libs-dev
mailing list