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 3c5877d Add to the Code Style Guidelines.
3c5877d is described below
commit 3c5877dde3a891c2efecc3d80c1c51ac59626c25
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Nov 15 14:48:51 2026 -0500
Add to the Code Style Guidelines.
---
AGENTS.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/AGENTS.md b/AGENTS.md
index a850d19..d9346cc 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -26,6 +26,8 @@ Guidance for AI coding agents working in this repository.
- Deprecated Features: Do not introduce new usages of deprecated Java APIs
(classes or methods) from the JRE, JDK, code in this project, or its
dependencies. When modifying code that uses deprecated APIs, replace those
usages where a compatible alternative exists and the replacement is within the
task’s scope.
- Feature Restrictions: Only use syntax, language features, and APIs fully
supported by the effective compiler configuration. Do not use features from
newer Java versions.
- Compiler Warnings: Ensure all generated code compiles cleanly without any
`-Xlint:deprecation` warnings. Do not suppress deprecation warnings with
`@SuppressWarnings("deprecation")`.
+- Use JUnit and JUnit Pioneer only.
+- Don't use the JUnit assertAll methods.
## Verification