Alwaysgaurav1 commented on PR #1782:
URL: https://github.com/apache/commons-lang/pull/1782#issuecomment-5579997312
@garydgregory
Thank you for the feedback! I have updated the PR to address both points:
1. **Reverted Lower-Bound Modifications**: Reverted the lower-bound checking
logic back to the original strict matching to keep this PR strictly focused on
multiple upper bounds.
2. **Enhanced Test Coverage in `TypeUtilsTest`**:
- Added multi-bound targets where all bounds are satisfied (`? extends
Serializable & Cloneable` assignable to `? extends Serializable & Cloneable`
and `? extends Object & Serializable`).
- Added multi-bound targets where only one bound is satisfied (`? extends
Serializable & Cloneable` is NOT assignable to `? extends Serializable &
CharSequence`).
- Added reverse-direction tests (`? extends Serializable` is NOT
assignable to `? extends Serializable & Cloneable`).
--
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]