Integrated: 8284672: Collapse identical catch branches in java.desktop
Andrey Turbanov
aturbanov at openjdk.org
Mon Jun 20 09:05:02 UTC 2022
On Fri, 8 Apr 2022 06:50:15 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: 695d8656
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/695d8656c5c6452b20d9d5a33ebb8f3d2f71c176
Stats: 299 lines in 45 files changed: 2 ins; 169 del; 128 mod
8284672: Collapse identical catch branches in java.desktop
Reviewed-by: prr, aivanov, serb
-------------
PR: https://git.openjdk.org/jdk/pull/8154
More information about the client-libs-dev
mailing list