Bug 169144 - [Enhancement] If the parameter in the method signature has never used in method, please provide a warning in JDT
Summary: [Enhancement] If the parameter in the method signature has never used in meth...
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.3 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-28 00:36 EST by Pan Feng CLA
Modified: 2007-02-05 11:53 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 Pan Feng CLA 2006-12-28 00:36:38 EST
Build ID: I20061102-1715

Steps To Reproduce:
This is a enhancement.
  If the parameter in the method signature has never used in method, please give a warning in JDT(just like a unused variable, underline it).


More information:
Comment 1 Frederic Fusier CLA 2007-01-08 07:35:13 EST
This option already exists...

Open preference page 'Java' > 'Compiler' > 'Errors/Warnings', expand 'Unnecessary Code' and set 'Parameter is never read' to 'Warning'

That's it!
Comment 2 Olivier Thomann CLA 2007-02-05 11:53:51 EST
As stated in comment 1, option already exists.
Verified for 3.3M5 using I20070205-0009 (closing as INVALID).