Skip to content

Commit

Permalink
Fixed format
Browse files Browse the repository at this point in the history
  • Loading branch information
marcschumacher committed Feb 9, 2024
1 parent 782b981 commit 63b615a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ private static HttpClient configureClient(
}
if (proxyOptions != null) {
builder.proxy(
ProxySelector.of(
new InetSocketAddress(proxyOptions.getHost(), proxyOptions.getPort())));
ProxySelector.of(new InetSocketAddress(proxyOptions.getHost(), proxyOptions.getPort())));
}
return builder.build();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

package io.opentelemetry.sdk.common.export;

/**
* Configuration for proxy settings.
*/
/** Configuration for proxy settings. */
public class ProxyOptions {
private final String host;
private final String host;

private final int port;

Expand All @@ -30,9 +33,7 @@ public static class ProxyOptionsBuilder {
private final String host;
private final int port;

/**
* Supply the host name or IP address of the proxy and the port it is working on.
*/
/** Supply the host name or IP address of the proxy and the port it is working on. */
ProxyOptionsBuilder(String host, int port) {
this.host = host;
this.port = port;
Expand Down

0 comments on commit 63b615a

Please sign in to comment.