-
Notifications
You must be signed in to change notification settings - Fork 791
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
fix NPE for commons-httpclient v3.1 (#5944) #5949
Conversation
} | ||
|
||
@Override | ||
int sendRequest(HttpMethod request, String method, URI uri, Map<String, String> headers) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYT about extracting a common base class for this class and CommonsHttpClientTest
. I believe this is the only method that is different in them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of course this makes sense.
I hope the naming will be fine, otherwise just let me know.
Thank you for reviewing this.
thanks @dgradecak! |
…etry#5949) * fix NPE for commons-httpclient v3.1 (open-telemetry#5944) * fix NPE for commons-httpclient v3.1 (open-telemetry#5944) - spotless fixes * extracting abstract class with reused code (open-telemetry#5944)
in a certain combination of parameters when using the javaagent extension for apache-httpclient/apache-httpclient-2.0
throws a NPE