You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (JIRA)" <ji...@apache.org> on 2012/06/28 01:37:43 UTC
[jira] [Commented] (LUCENE-4172) clean up redundant throws clauses
[ https://issues.apache.org/jira/browse/LUCENE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402669#comment-13402669 ]
Steven Rowe commented on LUCENE-4172:
-------------------------------------
IntelliJ has two relevant inspections: "Redundant throws clause" and "Duplicate throws". I've applied your patch to trunk and I'm running these on the whole project to see what they find.
> clean up redundant throws clauses
> ---------------------------------
>
> Key: LUCENE-4172
> URL: https://issues.apache.org/jira/browse/LUCENE-4172
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-4172.patch
>
>
> examples are things like ctors that list throws XYZException but actually dont, and things like 'throws CorruptIndex, LockObtainedFailed, IOException' when all of these are actually IOException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org