Skip to content

Commit 5089f4f

Browse files
committed
Update AbstractJdkHttpServerTest.java
1 parent 4e24e69 commit 5089f4f

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

instrumentation/java-http-server/testing/src/main/java/io/opentelemetry/instrumentation/httpserver/AbstractJdkHttpServerTest.java

+13-10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package io.opentelemetry.instrumentation.httpserver;
27

38
import static io.opentelemetry.instrumentation.testing.junit.http.ServerEndpoint.CAPTURE_HEADERS;
@@ -9,25 +14,23 @@
914
import static io.opentelemetry.instrumentation.testing.junit.http.ServerEndpoint.REDIRECT;
1015
import static io.opentelemetry.instrumentation.testing.junit.http.ServerEndpoint.SUCCESS;
1116

12-
import java.io.IOException;
13-
import java.io.OutputStream;
14-
import java.net.InetSocketAddress;
15-
import java.nio.charset.Charset;
16-
import java.util.ArrayList;
17-
import java.util.Collections;
18-
import java.util.List;
19-
import java.util.Map;
20-
2117
import com.sun.net.httpserver.Filter;
2218
import com.sun.net.httpserver.HttpContext;
2319
import com.sun.net.httpserver.HttpExchange;
2420
import com.sun.net.httpserver.HttpServer;
25-
2621
import io.opentelemetry.api.trace.Span;
2722
import io.opentelemetry.instrumentation.testing.junit.http.AbstractHttpServerTest;
2823
import io.opentelemetry.instrumentation.testing.junit.http.HttpServerTestOptions;
2924
import io.opentelemetry.instrumentation.testing.junit.http.ServerEndpoint;
3025
import io.opentelemetry.testing.internal.armeria.common.QueryParams;
26+
import java.io.IOException;
27+
import java.io.OutputStream;
28+
import java.net.InetSocketAddress;
29+
import java.nio.charset.Charset;
30+
import java.util.ArrayList;
31+
import java.util.Collections;
32+
import java.util.List;
33+
import java.util.Map;
3134

3235
public abstract class AbstractJdkHttpServerTest extends AbstractHttpServerTest<HttpServer> {
3336

0 commit comments

Comments
 (0)