IG: possible to inspect for javadoc doubling?

Just stumbled across some code where the javadoc on a method was doubled, something like this:
/**

  • Action listener called when a vehicle is selected.

*

  • @param event the event

*/
/**

  • Action listener called when a vehicle is selected.

*

  • @param event the event

*/
public void carSelected(ActionEvent event) {....}
And this spread beyond the original method as someone had blindly copy-pasted from the original offense. Would it be possible for an inspection to catch javadoc doubling?
The javadoc doesn't need to be identical, just detecting that fact that you have back-to-back /** javadoc-style comments. If possible to inspect, I'd be glad to file a feature request.

2 comments
Comment actions Permalink

This would be completely trivial to inspect for. Please file a request.

--Dave Griffith

0

Please sign in to leave a comment.