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

Manfred Baedke edited comment on OAK-11571 at 3/14/25 12:49 PM:
----------------------------------------------------------------

I think the point is to make Closer.close() not throw if rethrow has been 
called before. In our case it seems like a flag would do just as well, we do 
not need to store the exception.


was (Author: baedke):
I think the point is to make Closer.close() not throw if rethrow has been 
called before.

> commons: add Closer class (similar to Guava Closer)
> ---------------------------------------------------
>
>                 Key: OAK-11571
>                 URL: https://issues.apache.org/jira/browse/OAK-11571
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: commons
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> ... but not to o.a.j.o.commons.io - because I'm reluctant to put things like 
> this into a public package.
> Maybe "pio" for "private io"?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to