lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4520) ValueSource.getSortField shouldn't throw IOException
Date Wed, 31 Oct 2012 14:43:13 GMT
Alan Woodward created LUCENE-4520:
-------------------------------------

             Summary: 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
            Priority: Minor
             Fix For: 4.1, 5.0


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


Mime
View raw message