diff --git a/agent-bootstrap/src/main/java/io/opentelemetry/auto/bootstrap/instrumentation/decorator/HttpServerTracer.java b/agent-bootstrap/src/main/java/io/opentelemetry/auto/bootstrap/instrumentation/decorator/HttpServerTracer.java index 9e53d6617c1d..a2beec8f972b 100644 --- a/agent-bootstrap/src/main/java/io/opentelemetry/auto/bootstrap/instrumentation/decorator/HttpServerTracer.java +++ b/agent-bootstrap/src/main/java/io/opentelemetry/auto/bootstrap/instrumentation/decorator/HttpServerTracer.java @@ -35,7 +35,6 @@ import java.lang.reflect.Method; import java.net.URI; import java.net.URISyntaxException; -import java.util.regex.Pattern; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -48,8 +47,6 @@ public abstract class HttpServerTracer extends Bas protected static final String USER_AGENT = "User-Agent"; - private static final Pattern FORWARDED_SPLIT_PATTERN = Pattern.compile("[;,]"); - public HttpServerTracer() { super(); }