Skip to content

Commit 5295c62

Browse files
committed
Added a point about final usage as a code style CTR
1 parent 04eff85 commit 5295c62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Agents should follow these conventions when generating or editing code and tests
175175
- Match the existing style in nearby code.
176176
- Do **not** use import wildcards (for example, avoid `import org.apache.tinkerpop.gremlin.structure.*`); prefer explicit imports.
177177
- Respect existing naming patterns and package organization.
178+
- Define variables as `final` whenever possible, except for loop variables.
178179

179180
### 6.2 Test guidelines
180181

0 commit comments

Comments
 (0)