Bug 391643 - Documentation for a new warning: Unused generic parameter
Summary: Documentation for a new warning: Unused generic parameter
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Doc (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.3 RC3   Edit
Assignee: Manoj N Palat CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on: 391520
Blocks:
  Show dependency tree
 
Reported: 2012-10-11 05:33 EDT by Manoj N Palat CLA
Modified: 2013-05-30 11:12 EDT (History)
5 users (show)

See Also:
jarthana: review+


Attachments
Proposed Fix (1.43 KB, patch)
2012-11-27 21:03 EST, Manoj N Palat CLA
no flags Details | Diff
Additional Patch as per review comment 3 (1.56 KB, patch)
2012-12-10 04:11 EST, Manoj N Palat CLA
no flags Details | Diff
Combined Patch of the two patches (705.71 KB, patch)
2012-12-10 08:55 EST, Manoj N Palat CLA
no flags Details | Diff
Modified combined Patch (2.38 KB, patch)
2012-12-10 22:09 EST, Manoj N Palat CLA
no flags Details | Diff
Fix (2.37 KB, patch)
2012-12-14 02:11 EST, Manoj N Palat CLA
no flags Details | Diff
Proposed Patch (1.13 KB, patch)
2013-05-27 20:17 EDT, Manoj N Palat CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manoj N Palat CLA 2012-10-11 05:33:52 EDT
New warning for bug 385780 fix need to be documented as discussed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=385780#c10
Comment 1 Manoj N Palat CLA 2012-11-27 21:03:41 EST
Created attachment 224028 [details]
Proposed Fix
Comment 2 Srikanth Sankaran CLA 2012-11-30 01:11:54 EST
Jay, could you please review and take this to release ? TIA.
Comment 3 Jay Arthanareeswaran CLA 2012-12-10 01:10:33 EST
Manoj, I believe the new JavaCore option needs to be added to the documentation as well. This should go to org.eclipse.jdt.doc.isv/guide/jdt_api_options.htm

You can refer to COMPILER_PB_UNUSED_PARAMETER in the same file.
Comment 4 Manoj N Palat CLA 2012-12-10 04:11:26 EST
Created attachment 224502 [details]
Additional Patch as per review comment 3

This is in addition to the already existing patch.
Comment 5 Manoj N Palat CLA 2012-12-10 08:55:50 EST
Created attachment 224515 [details]
Combined Patch of the two patches
Comment 6 Jay Arthanareeswaran CLA 2012-12-10 09:05:58 EST
(In reply to comment #5)
> Created attachment 224515 [details]
> Combined Patch of the two patches

Something wrong with the patch? The patch has so many lines and the size is too big.
Comment 7 Manoj N Palat CLA 2012-12-10 22:09:02 EST
Created attachment 224540 [details]
Modified combined Patch
Comment 8 Srikanth Sankaran CLA 2012-12-10 23:21:35 EST
(In reply to comment #6)
> (In reply to comment #5)
> > Created attachment 224515 [details]
> > Combined Patch of the two patches
> 
> Something wrong with the patch? The patch has so many lines and the size is
> too big.

Please always look through the patch one time before posting to make sure
there are no extraneous changes etc.
Comment 9 Manoj N Palat CLA 2012-12-14 02:11:56 EST
Created attachment 224708 [details]
Fix

Slight modification in the text message to make it similar to the neighbouring text.
Comment 10 Jay Arthanareeswaran CLA 2012-12-14 03:17:05 EST
Patch looks good.

But moving the bug to M5 since we don't have much time left for M4.
Comment 11 Jay Arthanareeswaran CLA 2013-01-03 01:57:22 EST
Released in master for 4.3 M5
Comment 12 Stephan Herrmann CLA 2013-05-23 09:55:29 EDT
Bug 385780 includes the introduction of a new warning option for the batch compiler,
yet the doc updates misses to update task-using_batch_compiler.htm

IMHO this should be fixed for Kepler.
Comment 13 Jay Arthanareeswaran CLA 2013-05-24 05:21:33 EDT
Manoj, please prepare a patch and keep it ready. We can release it during the RC3 fix pass.
Comment 14 Manoj N Palat CLA 2013-05-27 20:17:36 EDT
Created attachment 231594 [details]
Proposed Patch

Update of task-using_batch_compiler.htm
Comment 15 Markus Keller CLA 2013-05-28 11:41:43 EDT
Fixed bugs in the patch:
- bad formatting: why not split "</tr><tr>" to 2 lines like everywhere else?
- bad table: addition of a -warn sub-option needs an update in rowspan
- bad sorting: options are sorted alphabetically (in the table and in the macro enumeration for "unused")

Then I looked closer at the document and fixed various other bugs as well:
- more bad sorting
- unusedLocal was duplicated -> rowspan back to 100
- bug 409303
- deprecated the wrongly named "unusedArgument" option

Fixed with http://git.eclipse.org/c/platform/eclipse.platform.common.git/commit/?id=b351a08612ca6a9b597571c35c962b51ca8c33d3
Comment 16 Jay Arthanareeswaran CLA 2013-05-30 11:12:18 EDT
Verified for 4.3 RC3 with build I20130529-2000