You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alwaysgaurav1 (via GitHub)" <gi...@apache.org> on 2026/08/16 17:15:23 UTC
[PR] Fix typos and syntax in Javadoc examples and comments [commons-lang]
Alwaysgaurav1 opened a new pull request, #1774:
URL: https://github.com/apache/commons-lang/pull/1774
## Summary
This PR fixes syntax errors in Javadoc example snippets and removes duplicated word typos across several classes.
## Details of Changes
1. **Fixed Javadoc code example syntax (missing closing parenthesis `)`):**
- `StringUtils.appendIfMissing`: Fixed `StringUtils.appendIfMissing("", "xyz" = "xyz"` $\rightarrow$ `StringUtils.appendIfMissing("", "xyz") = "xyz"`
- `Strings.CS.appendIfMissing`: Fixed `Strings.CS.appendIfMissing("", "xyz" = "xyz"` $\rightarrow$ `Strings.CS.appendIfMissing("", "xyz") = "xyz"`
2. **Fixed duplicated word typos (`side side` $\rightarrow$ `side`):**
- `DurationFormatUtils`: Fixed repeated `left-hand side side` $\rightarrow$ `left-hand side` across Javadoc tags for `formatDuration` and `formatPeriod`.
- `Range`: Fixed `left-hand side side` and `right-hand side side` in `ComparableComparator` Javadoc.
- `StrBuilder`: Fixed `left-hand side side` and `right-hand side side` in `appendFixedWidthPadLeft` and `appendFixedWidthPadRight` Javadocs.
- `EqualsBuilderTest`: Fixed `left-hand side side` in `testReflectionEqualsEquivalenceRelationship` Javadoc.
## Impact
- Non-functional changes only (documentation and test comments).
- No breaking changes or runtime API modifications.
--
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] Fix typos and syntax in Javadoc examples and comments [commons-lang]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #1774:
URL: https://github.com/apache/commons-lang/pull/1774
--
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] Fix typos and syntax in Javadoc examples and comments [commons-lang]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #1774:
URL: https://github.com/apache/commons-lang/pull/1774#issuecomment-5309311513
Thank you @Alwaysgaurav1 , merged 🚀
--
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