You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "NA-V10 (via GitHub)" <gi...@apache.org> on 2025/11/19 07:03:43 UTC

[PR] Improve Javadoc for StringUtils.reverse(String) [commons-lang]

NA-V10 opened a new pull request, #1496:
URL: https://github.com/apache/commons-lang/pull/1496

   ##Summary
   
   This PR enhances the Javadoc for the StringUtils.reverse(String) method by providing a clearer explanation of its behavior and adding more comprehensive usage examples. The method is widely used, and this improvement helps make its behavior easier to understand for new and existing users.
   
   ##Changes
   
   Expanded the method description for clarity.
   
   Added more readable and complete example block.
   
   Improved formatting and consistency with the rest of the codebase.
   
   Updated parameter and return descriptions to follow modern Javadoc conventions.
   
   ##Why This Change Is Useful
   
   Some Javadoc entries in StringUtils are minimal or outdated. This update improves readability and usability of the API documentation without changing any logic or behavior. Clear examples help developers understand edge cases and expected outputs more quickly.
   
   ##Notes
   
   No functional changes were made.
   
   Only Javadoc/comments were updated.
   
   Follows Apache Commons Lang style and formatting guidelines.


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve Javadoc for StringUtils.reverse(String) [commons-lang]

Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #1496:
URL: https://github.com/apache/commons-lang/pull/1496#issuecomment-3552236994

   Are you an AI? This is getting worse and worse. Remove the examples? That's an obvious -1.


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve Javadoc for StringUtils.reverse(String) [commons-lang]

Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory closed pull request #1496: Improve Javadoc for StringUtils.reverse(String)
URL: https://github.com/apache/commons-lang/pull/1496


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve Javadoc for StringUtils.reverse(String) [commons-lang]

Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #1496:
URL: https://github.com/apache/commons-lang/pull/1496#issuecomment-3551921170

   This is not better IMO.


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve Javadoc for StringUtils.reverse(String) [commons-lang]

Posted by "NA-V10 (via GitHub)" <gi...@apache.org>.
NA-V10 commented on PR #1496:
URL: https://github.com/apache/commons-lang/pull/1496#issuecomment-3552230821

   Thanks for the feedback, Gary.
   
   I’ve simplified the Javadoc to better match Commons Lang style and removed the extra examples/wording. Please review the updated version.
   


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org