You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/08/07 07:23:59 UTC

[groovy] branch master updated: Change retention policy of `GQ` annotation

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 1dc57a8  Change retention policy of `GQ` annotation
1dc57a8 is described below

commit 1dc57a8faabad6735b012ac8fbd4b77af5c1118a
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Aug 7 15:23:43 2021 +0800

    Change retention policy of `GQ` annotation
---
 subprojects/groovy-ginq/src/main/groovy/groovy/ginq/transform/GQ.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/groovy-ginq/src/main/groovy/groovy/ginq/transform/GQ.java b/subprojects/groovy-ginq/src/main/groovy/groovy/ginq/transform/GQ.java
index 9d706a0..5dace76 100644
--- a/subprojects/groovy-ginq/src/main/groovy/groovy/ginq/transform/GQ.java
+++ b/subprojects/groovy-ginq/src/main/groovy/groovy/ginq/transform/GQ.java
@@ -35,7 +35,7 @@ import java.lang.annotation.Target;
  */
 @Incubating
 @Documented
-@Retention(RetentionPolicy.RUNTIME)
+@Retention(RetentionPolicy.SOURCE)
 @Target({ElementType.METHOD})
 @GroovyASTTransformationClass("org.apache.groovy.ginq.transform.GinqASTTransformation")
 public @interface GQ {