| Summary: | [clean up] "Remove unnecessary casts" should remove unnecessary parentheses | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
| Component: | UI | Assignee: | Deepak Azad <deepakazad> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, deepakazad |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in HEAD (along with Bug 335173). Verified in N20110224-2000, thanks. This was really annoying... |
I20100810-0800 The "Remove unnecessary casts" Clean Up should remove unnecessary parentheses like the quick fix already does: class IntComp implements Comparator<Integer> { public int compare(Integer o1, Integer o2) { return ((Integer) o1).intValue() - ((Integer) o2).intValue(); } }