zentol commented on code in PR #22667:
URL: https://github.com/apache/flink/pull/22667#discussion_r1219494028
##########
flink-architecture-tests/flink-architecture-tests-production/src/main/java/org/apache/flink/architecture/rules/ConnectorRules.java:
##########
@@ -41,16 +39,14 @@ public class ConnectorRules {
"org.apache.flink.connector..",
"org.apache.flink.streaming.connectors.."
};
- private static DescribedPredicate<JavaClass>
areNotPublicAndResideOutsideOfPackages(
- String... packageIdentifiers) {
- return JavaClass.Predicates.resideOutsideOfPackages(packageIdentifiers)
- .and(
- not(areDirectlyAnnotatedWithAtLeastOneOf(
- Public.class, PublicEvolving.class))
- .and(not(modifier(PUBLIC))))
Review Comment:
Ah not I get it, that makes complete sense.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]