You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/11/06 01:05:07 UTC

[groovy] branch master updated: fix broken javadoc links in comments

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 1421208  fix broken javadoc links in comments
1421208 is described below

commit 14212089d70c249f5b0680300053ee3e4493ddbb
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Nov 6 11:04:58 2021 +1000

    fix broken javadoc links in comments
---
 .../java/org/codehaus/groovy/control/CompilationUnit.java  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/codehaus/groovy/control/CompilationUnit.java b/src/main/java/org/codehaus/groovy/control/CompilationUnit.java
index 8a85289..c713f01 100644
--- a/src/main/java/org/codehaus/groovy/control/CompilationUnit.java
+++ b/src/main/java/org/codehaus/groovy/control/CompilationUnit.java
@@ -110,12 +110,12 @@ public class CompilationUnit extends ProcessingUnit {
         }
     }
 
-    /** Controls behavior of {@link #classgen()} and other routines. */
+    /** If set, outputs a little more information during compilation when errors occur. */
     protected boolean debug;
     /** True after the first {@link #configure(CompilerConfiguration)} operation. */
     protected boolean configured;
 
-    /** A callback for use during {@link #classgen()} */
+    /** A callback called during the {@code classgen} phase of compilation */
     protected ClassgenCallback classgenCallback;
     /** A callback for use during {@link #compile()} */
     protected ProgressCallback progressCallback;
@@ -554,10 +554,10 @@ public class CompilationUnit extends ProcessingUnit {
     // EXTERNAL CALLBACKS
 
     /**
-     * A callback interface you can use to "accompany" the classgen()
-     * code as it traverses the ClassNode tree.  You will be called-back
-     * for each primary and inner class.  Use setClassgenCallback() before
-     * running compile() to set your callback.
+     * A callback interface you can use during the {@code classgen}
+     * phase of compilation as the compiler traverses the ClassNode tree.
+     * You will be called-back for each primary and inner class.
+     * Use setClassgenCallback() before running compile() to set your callback.
      */
     @FunctionalInterface
     public interface ClassgenCallback {
@@ -709,7 +709,7 @@ public class CompilationUnit extends ProcessingUnit {
     }
 
     /**
-     * Runs {@link #classgen()} on a single {@code ClassNode}.
+     * Runs the class generation phase on a single {@code ClassNode}.
      */
     private final IPrimaryClassNodeOperation classgen = new IPrimaryClassNodeOperation() {
         @Override