Unused parameters

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unused parameters

Fabricio Lemos-2
  Hello,

Doesn´t Checkstyle have a verification for unused method parameters? I
couldn´t find any in http://checkstyle.sourceforge.net/availablechecks.html

thanks,
Fabricio Lemos

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
Reply | Threaded
Open this post in threaded view
|

Re: Unused parameters

Oliver Burn
It was removed a long time ago. The source code is available in the contrib/usage directory.

You may be able to build the code still.

On Thu, Oct 28, 2010 at 06:25, Fabricio Lemos <[hidden email]> wrote:
 Hello,

Doesn´t Checkstyle have a verification for unused method parameters? I
couldn´t find any in http://checkstyle.sourceforge.net/availablechecks.html

thanks,
Fabricio Lemos

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
Reply | Threaded
Open this post in threaded view
|

Re: Unused parameters

Fabricio Lemos-2
Do you remember the reason it was removed? I find this check to be very helpful. Is there any chance to get it back to Checkstyle trunk?


On 28/10/2010 07:39, Oliver Burn wrote:
It was removed a long time ago. The source code is available in the contrib/usage directory.

You may be able to build the code still.

On Thu, Oct 28, 2010 at 06:25, Fabricio Lemos <[hidden email]> wrote:
 Hello,

Doesn´t Checkstyle have a verification for unused method parameters? I
couldn´t find any in http://checkstyle.sourceforge.net/availablechecks.html

thanks,
Fabricio Lemos

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user

------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ Checkstyle-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/checkstyle-user

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware,
phishing sites, and compromised hosts - saving your company time,
money, and embarrassment.   Learn More!
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
Reply | Threaded
Open this post in threaded view
|

Re: Unused parameters

Oliver Burn
It was removed as there was not the capactiy in the team to support these checks when we upgraded to support Java 5.

Suggest you look at another tool like FindBugs or PMD for this functionality.

Regards,
Oliver

On Thu, Nov 4, 2010 at 06:34, Fabricio Lemos <[hidden email]> wrote:
Do you remember the reason it was removed? I find this check to be very helpful. Is there any chance to get it back to Checkstyle trunk?



On 28/10/2010 07:39, Oliver Burn wrote:
It was removed a long time ago. The source code is available in the contrib/usage directory.

You may be able to build the code still.

On Thu, Oct 28, 2010 at 06:25, Fabricio Lemos <[hidden email]> wrote:
 Hello,

Doesn´t Checkstyle have a verification for unused method parameters? I
couldn´t find any in http://checkstyle.sourceforge.net/availablechecks.html

thanks,
Fabricio Lemos

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user

------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ Checkstyle-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/checkstyle-user

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware,
phishing sites, and compromised hosts - saving your company time,
money, and embarrassment.   Learn More!
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user



------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user