GitHub user StefanRRichter opened a pull request:
https://github.com/apache/flink/pull/2992
[FLINK-5325] Splitting user/system-facing API of CloseableRegistry
Currently, the API of ``CloseableRegistry`` exposes the ``close`` method to
all client code. This PR splits the API into a user-facing interface (allowing
only for un/registration of ``Closeable`` and a system-facing part that also
exposes the ``close method``. This prevents users from accidentally calling
close, thus closing resources that other callers registered.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StefanRRichter/flink
closeable-registry-interface
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2992.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2992
----
commit fce3c97a575f4296d55bea2d833a4b55c0913ee4
Author: Stefan Richter <[email protected]>
Date: 2016-12-12T12:53:24Z
[FLINK-5325] Splitting user/system-facing API of CloseableRegistry
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---