Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin examples in Spring Core docs should use extension functions with reified types #23456

Closed
juergenzimmermann opened this issue Aug 13, 2019 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Milestone

Comments

@juergenzimmermann
Copy link

Affects: 5.2.0-SNAPSHOT

In https://github.com/spring-projects/spring-framework/tree/master/src/docs/asciidoc/core line 374 is:

val service = context.getBean("petStore", PetStoreService::class.java)

"Kotlin style" would be:

val service = context.getBean<PetStoreService>("petStore")
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Aug 13, 2019
@sdeleuze sdeleuze self-assigned this Aug 13, 2019
@sdeleuze sdeleuze added in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Aug 13, 2019
@sdeleuze sdeleuze added this to the 5.2 RC2 milestone Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

3 participants