diff --git a/instrumentation/jaxws/jaxws-metro-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/metro/MetroServerSpanNameUpdater.java b/instrumentation/jaxws/jaxws-metro-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/metro/MetroServerSpanNameUpdater.java index 3998099794c4..cd295d06a51e 100644 --- a/instrumentation/jaxws/jaxws-metro-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/metro/MetroServerSpanNameUpdater.java +++ b/instrumentation/jaxws/jaxws-metro-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/metro/MetroServerSpanNameUpdater.java @@ -58,7 +58,7 @@ public MetroServerSpanNameUpdater() { */ private void registerHttpServletRequestAdapter( String name, String key, String httpServletRequestClassName) { - final HttpServletRequestAdapter adapter; + HttpServletRequestAdapter adapter; try { adapter = new HttpServletRequestAdapter(