Skip to content
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

Make ApacheHttpClient5Request public #12394

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Oct 3, 2024

Resolves #12393
Also removes unused code.

@laurit laurit requested a review from a team as a code owner October 3, 2024 15:42

final class ApacheHttpClient5Request {
public final class ApacheHttpClient5Request {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should perhaps add Javadoc?

@@ -124,13 +72,4 @@ private static URI getCalculatedUri(HttpHost httpHost, URI uri) {
return null;
}
}

@Nullable
public InetSocketAddress getServerSocketAddress() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems many methods in this class was copied from other version modules, delete them together? such as

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this method is used in 4.3 instrumentation

@laurit laurit merged commit 8b4979f into open-telemetry:main Oct 7, 2024
56 checks passed
@laurit laurit deleted the apache5-request branch October 7, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants