| Summary: | [1.7][formatter][preferences] Rename line wrapping preferences for "try" and "catch" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ayushman Jain <amj87.iitr> | ||||
| Component: | UI | Assignee: | Dani Megert <daniel_megert> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | trivial | ||||||
| Priority: | P2 | CC: | daniel_megert, raksha.vasisht | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.7.1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ayushman Jain
(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. |