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 2026/04/25 02:21:45 UTC
(groovy) branch master updated: Remove outdated javadoc
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits 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 030170812e Remove outdated javadoc
030170812e is described below
commit 030170812e51dae6cbb559df76cd5143fd7b51a7
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Apr 25 11:16:48 2026 +0900
Remove outdated javadoc
---
.../groovy/transform/trait/TraitASTTransformation.java | 2 +-
.../src/main/java/org/codehaus/groovy/ant/Groovydoc.java | 10 ----------
.../java/org/codehaus/groovy/tools/groovydoc/TagRenderer.java | 11 -----------
3 files changed, 1 insertion(+), 22 deletions(-)
diff --git a/src/main/java/org/codehaus/groovy/transform/trait/TraitASTTransformation.java b/src/main/java/org/codehaus/groovy/transform/trait/TraitASTTransformation.java
index 0edc14659e..53bfe09bce 100644
--- a/src/main/java/org/codehaus/groovy/transform/trait/TraitASTTransformation.java
+++ b/src/main/java/org/codehaus/groovy/transform/trait/TraitASTTransformation.java
@@ -375,7 +375,7 @@ public class TraitASTTransformation extends AbstractASTTransformation implements
}
}
- private /****/ void registerASTTransformations(final ClassNode helper) {
+ private void registerASTTransformations(final ClassNode helper) {
ASTTransformationVisitor.addNewPhaseOperation(compilationUnit, sourceUnit, helper);
// perform an additional operation which has to be done *after* static type checking
compilationUnit.addPhaseOperation((final SourceUnit source, final GeneratorContext context, final ClassNode classNode) -> {
diff --git a/subprojects/groovy-ant/src/main/java/org/codehaus/groovy/ant/Groovydoc.java b/subprojects/groovy-ant/src/main/java/org/codehaus/groovy/ant/Groovydoc.java
index 73487ac978..7171c02592 100644
--- a/subprojects/groovy-ant/src/main/java/org/codehaus/groovy/ant/Groovydoc.java
+++ b/subprojects/groovy-ant/src/main/java/org/codehaus/groovy/ant/Groovydoc.java
@@ -467,16 +467,6 @@ public class Groovydoc extends Task {
public File getFile() { return file; }
}
- /**
- * Add the directories matched by the nested dirsets to the resulting
- * packages list and the base directories of the dirsets to the Path.
- * It also handles the packages and excludepackages attributes and
- * elements.
- *
- * @param resultantPackages a list to which we add the packages found
- * @param sourcePath a path to which we add each basedir found
- * @since 1.5
- */
/**
* Whether {@code relativeDir} (file-separator-delimited path) has every
* segment a valid Java/Groovy package identifier. Rejects empty segments
diff --git a/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/TagRenderer.java b/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/TagRenderer.java
index dd87922ac6..4ee0185117 100644
--- a/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/TagRenderer.java
+++ b/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/TagRenderer.java
@@ -920,17 +920,6 @@ final class TagRenderer {
out.append('}');
}
- /**
- * Resolve a {@code {@value}} tag body to the target field's source-form
- * constant value, or {@code null} if the reference couldn't be resolved.
- *
- * <p>Body forms:
- * <ul>
- * <li>{@code #FIELD} — field {@code FIELD} in {@code classDoc}</li>
- * <li>{@code Class#FIELD} / {@code pkg.Class#FIELD} — field in another class</li>
- * <li>empty — not supported here (needs current-member context); returns {@code null}</li>
- * </ul>
- */
/**
* GROOVY-3782: resolve {@code {@inheritDoc}} to the parent method's
* already-rendered comment text. Walks the superclass chain, then