Skip to content

Commit ffd7b93

Browse files
committed
Merge branch '6.2.x'
2 parents 4a95b80 + 356d5c2 commit ffd7b93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

framework-docs/src/main/kotlin/org/springframework/docs/integration/resthttpinterface/customresolver/CustomHttpServiceArgumentResolver.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ class CustomHttpServiceArgumentResolver {
4444
.builderFor(adapter)
4545
.customArgumentResolver(SearchQueryArgumentResolver())
4646
.build()
47-
val repositoryService = factory.createClient<RepositoryService?>(RepositoryService::class.java)
47+
val repositoryService = factory.createClient<RepositoryService>(RepositoryService::class.java)
4848

4949
val search = Search(owner = "spring-projects", language = "java", query = "rest")
5050
val repositories = repositoryService.searchRepository(search)
5151
// end::usage[]
52+
repositories.size
5253
}
5354
}
5455

0 commit comments

Comments
 (0)