Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

@Validateable should be runtime, not source

  • Loading branch information...
commit 1ecf99e006de4f74c98de01e58029ca469b7970a 1 parent 3fe9a91
@jeffbrown jeffbrown authored
View
2  grails-plugin-validation/src/main/groovy/grails/validation/Validateable.java
@@ -7,7 +7,7 @@
import org.codehaus.groovy.transform.GroovyASTTransformationClass;
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@GroovyASTTransformationClass("org.codehaus.groovy.grails.compiler.validation.ValidateableTransformation")
public @interface Validateable {
View
2  grails-plugin-validation/src/main/groovy/org/codehaus/groovy/grails/validation/Validateable.groovy
@@ -24,7 +24,7 @@ import org.codehaus.groovy.transform.GroovyASTTransformationClass;
/**
* @deprecated Use {@link grails.validation.Validateable} instead.
*/
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Target([ElementType.TYPE])
@GroovyASTTransformationClass("org.codehaus.groovy.grails.compiler.validation.ValidateableTransformation")
@interface Validateable {}

1 comment on commit 1ecf99e

@jeffbrown
Owner

The commit message doesn't mention the relevant JIRA but this is related to GRAILS-8785.

Please sign in to comment.
Something went wrong with that request. Please try again.