GitHub user StephanEwen opened a pull request:
https://github.com/apache/flink/pull/2390
[FLINK-4431] [core] Introduce a "VisibleForTesting" annotation.
This annotations declares that a function, field, constructor, or entire
type, is only visible for testing purposes.
This annotation is typically attached when for example a method should be
{@code private} (because it is not intended to be called externally), but
cannot be declared private, because some tests need to have access to it.
Guava offers a similar annotation, but I would like to not rely on Guava
for this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StephanEwen/incubator-flink
visible_testing_annotation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2390.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 #2390
----
commit 19fa1c6315750cbf001194300f4f7681e8be5e90
Author: Stephan Ewen <[email protected]>
Date: 2016-08-19T10:16:09Z
[FLINK-4431] [core] Introduce a "VisibleForTesting" annotation.
This annotation documents methods/fields that are not private because tests
need them,
but should not be called by any non-testing code.
----
---
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.
---