You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2026/02/19 18:51:10 UTC
(tinkerpop) 01/03: Added a point about final usage as a code style CTR
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 5295c62eaa272805c0293ef58d5a3d2932af6ec2
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Thu Feb 19 13:50:22 2026 -0500
Added a point about final usage as a code style CTR
---
AGENTS.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/AGENTS.md b/AGENTS.md
index fb83e7660f..8e5d3a2a13 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -175,6 +175,7 @@ Agents should follow these conventions when generating or editing code and tests
- Match the existing style in nearby code.
- Do **not** use import wildcards (for example, avoid `import org.apache.tinkerpop.gremlin.structure.*`); prefer explicit imports.
- Respect existing naming patterns and package organization.
+- Define variables as `final` whenever possible, except for loop variables.
### 6.2 Test guidelines