-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpStatus is only imported from org.apache.http
#3741
HttpStatus is only imported from org.apache.http
#3741
Conversation
Signed-off-by: Prabhas Kurapati <[email protected]>
@DarshitChanpura @peternied In this PR I only refactored the HttpStatus import, please let me know if there's areas that should not be refactored/changed to something else. Based on @peternied 's advice in the previous PR I'm going to have this PR only for HttpStatus refactors, and when it's merged I'll play around with the Header refactors in another PR and find a way to do so without the errors I've been getting. Thanks! |
org.apache.hc.core5.http
org.apache.hc.core5.http
- HttpStatus Refactor Only
Signed-off-by: Prabhas Kurapati <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3741 +/- ##
==========================================
- Coverage 65.23% 65.20% -0.03%
==========================================
Files 297 297
Lines 21129 21129
Branches 3451 3451
==========================================
- Hits 13783 13778 -5
- Misses 5647 5651 +4
- Partials 1699 1700 +1 |
org.apache.hc.core5.http
- HttpStatus Refactor Onlyorg.apache.http
…t#3741) Signed-off-by: Prabhas Kurapati <[email protected]>
Description
Accounts for refactor of HttpStatus classes from hc.core5.http to just http by adding checkstyle test, and manually refactoring all current occurrences of the illegal import. Additionally updated spotlessApply to make the refactor automatic on future cases of illegal import.
Bug fix/refactor
org.apache.hc.core5.http
#3581Ideally nothing.
Issues Resolved
org.apache.hc.core5.http
#3581Is this a backport? If so, please add backport PR # and/or commits #
No.
Testing
Tests have been modified and should work before merging.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.