PMD :: Create rule which detect a method parameter marked as @Unused which is used inside a method

Bug #1209707 reported by Richard Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JQuantLib
New
Medium
Unassigned

Bug Description

PMD :: Create rule which detect a method parameter marked as @Unused which is used inside a method

Tags: tools
Revision history for this message
Richard Gomes (frgomes) wrote :

Could you please provide your point of view regarding several annotations we have in our code?

The main reason for these annotations is in order to provide additional semantic integrity, something which can be obtained in C++ via typedefs.

In Java, it is provided by JSR-308 which, in fact, is even more powerful than what cpp compiler provides when typedefs are employed.

More info:
http://types.cs.washington.edu/jsr308/

The following article has 'real life' examples:
http://java.dzone.com/articles/when-should-you-jump-jsr-308-t

Revision history for this message
Richard Gomes (frgomes) wrote :

dropped back to the pot

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.