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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]