We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 860a603 commit d46e28dCopy full SHA for d46e28d
1 file changed
dd-java-agent/instrumentation/graphql-java/graphql-java-20.0/src/test/groovy/GraphQLTest.groovy
@@ -78,7 +78,7 @@ abstract class GraphQLTest extends VersionedNamingTestBase {
78
.type(newTypeWiring("Book").dataFetcher("year", new DataFetcher<CompletionStage<Integer>>() {
79
@Override
80
CompletionStage<Integer> get(DataFetchingEnvironment environment) throws Exception {
81
- return CompletableFuture.completedStage(2015)
+ return CompletableFuture.completedFuture(2015)
82
}
83
}))
84
.build()
0 commit comments