Commit 95d5033
Add try-with-resources guideline to AGENTS.md
- Added bullet point under 'Leverage Java 21+ features' section
- Specifies that try-with-resources must be used for all AutoCloseable resources
- Includes examples like HttpClient and streams
- Ensures proper resource management following Java best practices
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 74e5c9e commit 95d5033
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| |||
0 commit comments