| Summary: | [1.7][compiler] Improve error range for redundant type parameter warning | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ayushman Jain <amj87.iitr> | ||||||
| Component: | Core | Assignee: | Ayushman Jain <amj87.iitr> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | deepakazad, satyam.kandula | ||||||
| Version: | 3.7 | Flags: | satyam.kandula:
review+
|
||||||
| Target Milestone: | 3.7.1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ayushman Jain
Yup, the first option makes it easy for me to fix bug 349336. Created attachment 200056 [details]
proposed fix + updated tests
Changes error range to report the parameterized type for which the redundant type params are specified.
(In reply to comment #2) > Created attachment 200056 [details] [diff] > proposed fix + updated tests The patch is good from UI perspective. Created attachment 200058 [details]
proposed fix with slight change
A few refactoring changes suggested by Satyam.
Satyam, can you please set the review flag? Thanks! Released in BETA_JAVA7 branch changes look good. +1 Verified for 3.8M1 using build I20110729-1200 |