| Summary: | Unused type parameter problem should also depend on option to consider @param tag | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||||||
| Component: | Core | Assignee: | Manoj N Palat <manoj.palat> | ||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | jarthana, srikanth_sankaran | ||||||||||
| Version: | 4.3 | Flags: | srikanth_sankaran:
review+
|
||||||||||
| Target Milestone: | 4.3 M5 | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 392946 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Markus Keller
Manoj, please take a look The quick fix from bug 392946 already assumes this dependency. Created attachment 225599 [details]
Fix for JDT Core - Work In Progess.
This is a working solution. [Patch marked as "work in progress" primarily because of checking out an optimization wherein a reduced set of @param tags only needs to be processed eliminating those tags which have been run-through resolveParamTags and resolved successfully to a param (rather than a type)].
Created attachment 225665 [details]
Patch for JDT Core
Comments: 1. I don't think we need the loop at all. At the place where the type parameter is resolved from the @param tag, we should be able to mark it used. 2. @param for classes should be enclosed in <> Created attachment 225788 [details]
Patch for JDT Core
Released via http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=d7b760eb9cb9581492e34768b7dc48857b9b10e4 (In reply to comment #0) > Created attachment 225460 [details] [diff] > Fix for UI Released as http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=b69e448521f6beccdaa711e78f6a3d43f46fc27f (In reply to comment #7) > Released via > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/ > ?id=d7b760eb9cb9581492e34768b7dc48857b9b10e4 The commit note doesn't include the bug summary. It helps to have it there when someone is looking at the history. Please remember to include it next time on. |