You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2021/07/13 15:13:11 UTC
[flink] 04/09: [hotfix] Allow @Internal annotation on fields
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit b8ee5687bcf218d7f36bce082b06344eb83d9a01
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Mon Jul 5 10:53:41 2021 +0200
[hotfix] Allow @Internal annotation on fields
---
.../src/main/java/org/apache/flink/annotation/Internal.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-annotations/src/main/java/org/apache/flink/annotation/Internal.java b/flink-annotations/src/main/java/org/apache/flink/annotation/Internal.java
index 8c2baf9..6531c84 100644
--- a/flink-annotations/src/main/java/org/apache/flink/annotation/Internal.java
+++ b/flink-annotations/src/main/java/org/apache/flink/annotation/Internal.java
@@ -29,6 +29,6 @@ import java.lang.annotation.Target;
* <p>Developer APIs are stable but internal to Flink and might change across releases.
*/
@Documented
-@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR})
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})
@Public
public @interface Internal {}