You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:21:26 UTC
[jira] [Commented] (LUCENE-4520) ValueSource.getSortField shouldn't
throw IOException
[ https://issues.apache.org/jira/browse/LUCENE-4520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610610#comment-13610610 ]
Commit Tag Bot commented on LUCENE-4520:
----------------------------------------
[branch_4x commit] Alan Woodward
http://svn.apache.org/viewvc?view=revision&revision=1404537
LUCENE-4520: ValueSource.getSortField() shouldn't throw IOException
> ValueSource.getSortField shouldn't throw IOException
> ----------------------------------------------------
>
> Key: LUCENE-4520
> URL: https://issues.apache.org/jira/browse/LUCENE-4520
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/search
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Fix For: 4.1, 5.0
>
> Attachments: LUCENE-4520.patch
>
>
> ValueSource.getSortField just returns a new ValueSourceSortField, whose constructor doesn't declare any checked exceptions. So adding the throws clause to the method declaration means adding pointless try-catch warts to client code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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