[
https://issues.apache.org/jira/browse/LUCENE-6193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated LUCENE-6193:
------------------------------------------
Attachment: LUCENE-6193.patch
The only places where I did not make these changes are where the catch blocks
have different comments or the code wasn't ASL.
The following were excluded:
# org.apache.lucene.analysis.core.TestFactories
# org.apache.lucene.index.TestReaderClosed
# org.apache.lucene.queryparser.flexible.messages.NLS (one instance)
# org.egothor.stemmer.Diff (license different from ASL)
# org.tartarus.snowball.SnowballProgram (license different from ASL)
> Collapse identical catch branches in try-catch statements
> ---------------------------------------------------------
>
> Key: LUCENE-6193
> URL: https://issues.apache.org/jira/browse/LUCENE-6193
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> Fix For: Trunk, 5.1
>
> Attachments: LUCENE-6193.patch
>
>
> We are on Java 7+ so we can reduce verbosity by collapsing identical catch
> statements into one. We did the same for solr in SOLR-7014.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]