This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-parent.git
The following commit(s) were added to refs/heads/master by this push:
new e18d276 Clarify Javadoc requirements for new declarations
e18d276 is described below
commit e18d276804c3ce80309c1ee80883de2f405c9b73
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Nov 23 07:44:52 2026 -0500
Clarify Javadoc requirements for new declarations
Explicitly include methods and require @since tags for new public
or protected types and members. Preserve existing Javadoc exceptions.
---
AGENTS.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/AGENTS.md b/AGENTS.md
index d9346cc..74c76b6 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -64,8 +64,9 @@ mvn -B -DskipTests -DskipITs -ntp
- Don't use the tags `@author`, `@version`.
- Block tags appear in the order `@param`, `@return`, `@throws`, `@since`,
`@see`, `@deprecated`.
No empty descriptions.
- - Javadoc is present on every public class and every public or protected
member,
+ - Add Javadoc for every new type declaration, method, and other member,
with the standard exceptions (overrides, self-explanatory members,
trivial `equals`/`hashCode`).
+ - Include an `@since` tag on every new public or protected type
declaration, method, and other member.
### Prose