You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/03/19 11:18:00 UTC

[jira] [Comment Edited] (LUCENE-8215) Fix several fragile exception handling places in o.a.l.index

    [ https://issues.apache.org/jira/browse/LUCENE-8215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16404651#comment-16404651 ] 

Simon Willnauer edited comment on LUCENE-8215 at 3/19/18 11:17 AM:
-------------------------------------------------------------------

I recommend to review this with _?w=1_ https://github.com/s1monw/lucene-solr/pull/6/files?w=1
to ignore whitespace only changes


was (Author: simonw):
I recommend to review this with _?w=1_ https://github.com/s1monw/lucene-solr/pull/6/files?w=1to ignore whitespace only changes

>  Fix several fragile exception handling places in o.a.l.index
> -------------------------------------------------------------
>
>                 Key: LUCENE-8215
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8215
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 7.4, master (8.0)
>            Reporter: Simon Willnauer
>            Priority: Major
>             Fix For: 7.4, master (8.0)
>
>         Attachments: LUCENE-8215.patch
>
>
> Several places in the index package don't handle exceptions well or ignores them. This change adds some utility methods and cuts over to make use of try/with blocks to simplify exception handling.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org