-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Polish #26188
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
Polish #26188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @izeye. I left a couple of comments for your consideration.
@@ -6948,7 +6948,7 @@ You can use the `@DataJpaTest` annotation to test JPA applications. | |||
By default, it scans for `@Entity` classes and configures Spring Data JPA repositories. | |||
If an embedded database is available on the classpath, it configures one as well. | |||
SQL queries are logged by default by setting the `spring.jpa.show-sql` property to `true`. | |||
This can be disabled using the `showSql()` attribute of the annotation. | |||
This can be disabled by using the `showSql()` attribute of the annotation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is OK without the "by".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wilkinsona I just felt that it was clearer, but it seems that my lack of knowledge on English made me feel that way. Thanks for pointing it out 😄
@@ -54,8 +54,8 @@ | |||
* override these settings. | |||
* <p> | |||
* SQL queries are logged by default by setting the {@code spring.jpa.show-sql} property | |||
* to {@code true}. This can be disabled using the {@link DataJpaTest#showSql() showSql} | |||
* attribute. | |||
* to {@code true}. This can be disabled by using the {@link DataJpaTest#showSql() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is OK without the "by".
@wilkinsona Ouch, sorry about that. Let me revisit based on your review. |
I've reworked the PR in db7460d. |
This PR fixes some typos and polishes trivial stuff.