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

2022-06-01 Thread Andrey Turbanov
> 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

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

2022-06-01 Thread Andrey Turbanov
On Wed, 27 Apr 2022 04:40:29 GMT, Phil Race wrote: >> Andrey Turbanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8284672: Collapse identical catch branches in java.desktop >> fix formatting > > src/java.desktop/share/classes/com/s

Re: RFR: 8284672: Collapse identical catch branches in java.desktop

2022-04-27 Thread Phil Race
On Fri, 8 Apr 2022 06:50:15 GMT, Andrey Turbanov 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 Marked as reviewed b