Skip to content

Commit 94ebe69

Browse files
committed
remove cast
1 parent 4fe2bdd commit 94ebe69

File tree

1 file changed

+1
-2
lines changed
  • instrumentation/play/play-mvc/play-mvc-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/play/v2_6

1 file changed

+1
-2
lines changed

instrumentation/play/play-mvc/play-mvc-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/play/v2_6/ActionInstrumentation.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public void end(
8282
// not using responseFuture.onComplete() because that doesn't guarantee this handler span
8383
// will be completed before the server span completes
8484
responseFuture =
85-
ResponseFutureWrapper.wrap(
86-
responseFuture, context, ((Action<?>) thisAction).executionContext());
85+
ResponseFutureWrapper.wrap(responseFuture, context, thisAction.executionContext());
8786
} else {
8887
instrumenter().end(context, null, null, throwable);
8988
}

0 commit comments

Comments
 (0)