Skip to content

Fix grammatical errors in MemorySize Javadocs - #4834

Closed
venkateshwaracholan wants to merge 3 commits into
apache:mainfrom
venkateshwaracholan:issue-4833-memorysize-javadoc-fix
Closed

Fix grammatical errors in MemorySize Javadocs#4834
venkateshwaracholan wants to merge 3 commits into
apache:mainfrom
venkateshwaracholan:issue-4833-memorysize-javadoc-fix

Conversation

@venkateshwaracholan

Copy link
Copy Markdown
Contributor

Summary

This PR fixes two small grammatical issues in the public Javadocs for MemorySize.

Although the changes are purely documentation-related, these Javadocs are part of the public API and appear in generated documentation. Correcting the wording improves clarity for users and helps maintain a polished and professional developer experience.

Changes
Updated the class-level Javadoc:
calls to asLong() the result in an ArithmeticException
→ calls to asLong() may result in an ArithmeticException
Updated the valueOf(String) Javadoc:
If the value contain no suffix
→ If the value contains no suffix
No code changes or behavioral modifications were made.

Checklist

  • 🛡️ Don't disclose security issues! (contact security@apache.org)
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes Fix grammatical errors in MemorySize Javadocs #4833
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • 📚 Updated documentation in site/content/in-dev/unreleased (if needed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix grammatical errors in MemorySize Javadocs

1 participant