| Summary: | [inline] Refactor > Inline fails to parenthesize replaced arguments | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Missing name <cub1975> | ||||||
| Component: | UI | Assignee: | Deepak Azad <deepakazad> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | deepakazad, remy.suen | ||||||
| Version: | 3.5.2 | ||||||||
| Target Milestone: | 3.7 M4 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Missing name
Created attachment 183272 [details]
This is a test case to demonstrate the bug (requires manual steps; see file).
Issues with Eclipse's Java tooling goes to JDT. Created attachment 183275 [details]
fix + tests
It is better to add extra parenthesis in some cases e.g. x + (y + z) , than change the semantics on inlining.
Fixed in HEAD. |