Community
Participate
Working Groups
BETA_JAVA7 In the formatter>Line wrapping options, we currently see under "Statements" category options for "try" and "catch". These were introduced in 1.7 specifically to tackle the try with resources and multi-catch constructs and do not apply to the old try and catch constructs. The wording should reflect this. SO try should be renamed to "try with resources" and catch to "multi-catch". Same goes for formatter>white space.
(In reply to comment #0) > BETA_JAVA7 > > In the formatter>Line wrapping options, we currently see under "Statements" > category options for "try" and "catch". > These were introduced in 1.7 specifically to tackle the try with resources and > multi-catch constructs and do not apply to the old try and catch constructs. > The wording should reflect this. SO try should be renamed to "try with > resources" and catch to "multi-catch". I agree. > Same goes for formatter>white space. But only for 'try' ('catch' was there before).
==> use try-with-resources multi-catch
Fixed in BETA_JAVA7.
Created attachment 200060 [details] Fix
Verified for Juno M1 with 4.2 build I20110729-0200.