Bug 31243 - Warn of unused parameters: Should not warn when method overrides
Summary: Warn of unused parameters: Should not warn when method overrides
Status: RESOLVED DUPLICATE of bug 25204
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-07 06:26 EST by Martin Aeschlimann CLA
Modified: 2003-02-11 06:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2003-02-07 06:26:46 EST
20030206

1. Turn on to show warnings about unused parameters
You get warnings like 'argument 'action' is never read'
public void run(IAction action) {
  new BuildPathDialog().open();
}

As 'run' is implementing 'run' from 'IAction', this warning is not very helpful.
Worse, enabling the feature leads to hundereds of such warnings for a project. 
I really would like to have this enabled so it would be great if either no 
warning is issued for parameters of overriding/implementing methods or it can 
be configured with an extra checkbox.
Comment 1 Philipe Mulet CLA 2003-02-07 07:43:29 EST
Defer
Comment 2 Philipe Mulet CLA 2003-02-11 06:37:07 EST
Resurrecting for investigation, as per request for RC1.
Comment 3 Philipe Mulet CLA 2003-02-11 06:45:18 EST

*** This bug has been marked as a duplicate of 25204 ***