Skip to content

Commit a743462

Browse files
committed
Fix
1 parent 402ae76 commit a743462

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayJavaStreamedWsClientBaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void sendRequestWithCallback(
7979
});
8080
}
8181

82-
private CompletionStage<StandaloneWSResponse> internalSendRequest(StandaloneWSRequest request) {
82+
private static CompletionStage<StandaloneWSResponse> internalSendRequest(StandaloneWSRequest request) {
8383
CompletionStage<? extends StandaloneWSResponse> stream = request.stream();
8484
// The status can be ready before the body so explicitly call wait for body to be ready
8585
return stream

instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public Void apply(Try<StandaloneWSResponse> response) {
9393
ExecutionContext.global());
9494
}
9595

96-
private Future<StandaloneWSResponse> internalSendRequest(StandaloneWSRequest request) {
96+
private static Future<StandaloneWSResponse> internalSendRequest(StandaloneWSRequest request) {
9797
Future<StandaloneWSResponse> futureResponse = request.stream();
9898
// The status can be ready before the body so explicitly call wait for body to be ready
9999
Future<String> bodyResponse =

0 commit comments

Comments
 (0)