Skip to content

Commit 0db680b

Browse files
csviriCopilot
andauthored
Update AGENTS.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 75e9675 commit 0db680b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ java-operator-sdk/
9090
- License Headers: All source files must have Apache 2.0 license headers
9191
- Line Length: 100 characters maximum
9292
- Indentation: 2 spaces (no tabs)
93-
- Prefer `var` to avoid type declarations, except for very short type names like `int`, `long` , `String` etc.
93+
- Prefer `var` to avoid type declarations, except for very short type names like `int`, `long`, `String` etc.
9494
- Always use proper imports for classes instead of fully qualified class references. Import classes at the top of the file and use simple class names throughout the code, only using fully qualified names when absolutely necessary to avoid naming collisions.
9595
- Add unit and/or integration tests for new functionality whenever reasonably possible
9696
- Avoid excessive logging, only add logs to critical parts. Avoid both logging errors and throwing exceptions at the same time. Throwing the error is enough it is logged already somewhere else.

0 commit comments

Comments
 (0)