On Fri, 8 Apr 2022 06:50:15 GMT, Andrey Turbanov <[email protected]> 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 <[email protected]> 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
