Skip to content

Conversation

@maxxedev
Copy link
Contributor

add more java8 lambda expressions in documentation for data-access

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 20, 2020
@sbrannen sbrannen added type: documentation A documentation task in: data Issues in data modules (jdbc, orm, oxm, tx) labels Feb 4, 2020
@sbrannen sbrannen self-assigned this Feb 4, 2020
@sbrannen sbrannen added status: waiting-for-feedback We need additional information before we can continue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Feb 4, 2020
@sbrannen sbrannen changed the title more java8 lambda expressions in data-access code examples Add more lambda expressions in data-access code examples Feb 4, 2020
fix typo on resultSet.
inline lambda expressions to be consistent with explanatory text.
store row mapper as a final field.
@maxxedev
Copy link
Contributor Author

maxxedev commented Mar 3, 2020

@sbrannen anything else?

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Mar 3, 2020
@sbrannen sbrannen added this to the 5.2.5 milestone Mar 16, 2020
@sbrannen
Copy link
Member

@sbrannen anything else?

Thanks for making the changes. I think that looks pretty good now, and I'll review it locally before merging.

@sbrannen sbrannen closed this in 9b82728 Mar 17, 2020
sbrannen added a commit that referenced this pull request Mar 17, 2020
@sbrannen
Copy link
Member

This has been merged into master in 9b82728 and refined in 7dea268.

Thanks

@sbrannen
Copy link
Member

As a side note, the last Kotlin example in this section still uses a local class instead of a lambda expression.

I'll see if we can that addressed as well.

sbrannen added a commit that referenced this pull request Mar 17, 2020
sbrannen added a commit that referenced this pull request Mar 18, 2020
@maxxedev
Copy link
Contributor Author

thanks for the review!

the newer example may not compile though.

@maxxedev maxxedev deleted the data-access-doc-improvements branch March 22, 2020 03:48
sbrannen added a commit that referenced this pull request Mar 22, 2020
This commit fixes the example by reverting the renaming of the local
Actor variable to avoid a conflict with a same-named variable already
in the current scope.

See gh-24398
@sbrannen
Copy link
Member

thanks for the review!

You're welcome.

the newer example may not compile though.

Fixed in b52136d.

Thanks again for pointing that out! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: data Issues in data modules (jdbc, orm, oxm, tx) status: feedback-provided Feedback has been provided type: documentation A documentation task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants