Skip to content

Commit b678d5d

Browse files
committed
./gradlew spotlessApply
1 parent 03766b2 commit b678d5d

File tree

1 file changed

+5
-2
lines changed
  • instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v5_0

1 file changed

+5
-2
lines changed

instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v5_0/ApacheHttpClientHelper.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88
import static io.opentelemetry.javaagent.instrumentation.apachehttpclient.v5_0.ApacheHttpClientSingletons.instrumenter;
99

1010
import io.opentelemetry.context.Context;
11+
import javax.annotation.Nullable;
1112
import org.apache.hc.core5.http.ClassicHttpRequest;
1213
import org.apache.hc.core5.http.HttpResponse;
13-
import javax.annotation.Nullable;
1414

1515
public class ApacheHttpClientHelper {
1616

1717
public static void doMethodExit(
18-
Context context, ClassicHttpRequest request, @Nullable Object result, @Nullable Throwable throwable) {
18+
Context context,
19+
ClassicHttpRequest request,
20+
@Nullable Object result,
21+
@Nullable Throwable throwable) {
1922
if (throwable != null) {
2023
instrumenter().end(context, request, null, throwable);
2124
} else if (result instanceof HttpResponse) {

0 commit comments

Comments
 (0)