Eclipse - How to show warning for unused method parameter ?

Posted by Brad on Stack Overflow See other posts from Stack Overflow or by Brad
Published on 2010-04-26T16:42:05Z Indexed on 2010/04/26 16:53 UTC
Read the original article Hit count: 151

Filed under:
|
|
|

I am using Eclipse v3.5.

In previous Eclipse versions i remember if i have defined a method with a parameter and didn't use it internally a warning appears, like this :

public void myMethod( int x ) {
  // Didn't use x here so a warning appears at the x parameter.
}

But in v3.5 i do not see this warning. How can i enable it in Eclipse ?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about unused