RFR: 8284672: Collapse identical catch branches in java.desktop [v3]

Andrey Turbanov aturbanov at openjdk.org
Mon Jun 20 09:05:00 UTC 2022


On Mon, 20 Jun 2022 07:49:10 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
>
> 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

Thank you for review!

-------------

PR: https://git.openjdk.org/jdk/pull/8154



More information about the client-libs-dev mailing list