FANNG1 opened a new pull request, #10566: URL: https://github.com/apache/gravitino/pull/10566
### What changes were proposed in this pull request? Clarify the Java import guidance in `AGENTS.md` by making the existing rule more explicit: - require normal `import` statements instead of inline fully qualified class names when possible - add concrete examples for disallowed inline usages such as `java.nio.file.Paths` - document the preferred handling when two classes share the same simple name ### Why are the changes needed? The previous wording only said to prioritize imports over fully qualified class names, which was too weak and still allowed agents to generate Java code with unnecessary inline FQNs. This update makes the expectation explicit and reduces that behavior. Fix: #10537 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Documentation only change. Verified the updated wording in `AGENTS.md`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
