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

paulk 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 3879953303 tweak wording
3879953303 is described below

commit 38799533037658041ed66188d92c7e52a7a97427
Author: Paul King <[email protected]>
AuthorDate: Fri Feb 28 18:46:55 2025 +1000

    tweak wording
---
 src/spec/doc/core-metaprogramming.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/spec/doc/core-metaprogramming.adoc 
b/src/spec/doc/core-metaprogramming.adoc
index 7e630abb0f..1ed62f048e 100644
--- a/src/spec/doc/core-metaprogramming.adoc
+++ b/src/spec/doc/core-metaprogramming.adoc
@@ -3023,14 +3023,14 @@ thoroughly in this <<{grape}#section-grape,section of 
the guide>>.
 
 There are two kinds of transformations: global and local transformations.
 
-* <<transforms-global,Global transformations>> are applied to by the compiler 
on the code being compiled,
-wherever the transformation apply. Compiled classes that implement global 
transformations
+* <<transforms-global,Global transformations>> are applied by the compiler on 
the code being compiled,
+wherever the transformation applies. Compiled classes that implement global 
transformations
 are in a JAR added to the classpath of the compiler and contain service 
locator file
 `META-INF/services/org.codehaus.groovy.transform.ASTTransformation` with a 
line with the name of the
 transformation class. The transformation class must have a no-arg constructor 
and implement the
 `org.codehaus.groovy.transform.ASTTransformation` interface.
-It will be run against *every source in the compilation*, so be sure to not 
create transformations which
-scan all the AST in an expansive and time-consuming manner, to keep the 
compiler fast.
+It will be run against *every source in the compilation*, so if you want fast 
compilation times, don't create transformations which
+scan all the AST in an expansive and time-consuming manner.
 * <<transforms-local,Local transformations>> are transformations applied 
locally by annotating code elements you want to
 transform. For this, we reuse the annotation notation, and those annotations 
should implement
 `org.codehaus.groovy.transform.ASTTransformation`. The compiler will discover 
them and apply the

Reply via email to