Skip to content

Commit e709784

Browse files
committed
Polish
1 parent 9e6e200 commit e709784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6045,7 +6045,7 @@ for it. Your could define your `@SpringBootApplication` as follows:
60456045
----
60466046

60476047
Because this class is the source configuration for the test, any slice test will actually
6048-
attempt to start Spring Batch, which is definitely now what you want to do. A recommended
6048+
attempt to start Spring Batch, which is definitely not what you want to do. A recommended
60496049
approach is to move that area-specific configuration to a separate `@Configuration`
60506050
class at the same level as your application.
60516051

@@ -6074,7 +6074,7 @@ application may look like this:
60746074

60756075
This effectively overrides the default component scan directive with the side effect of
60766076
scanning those two packages regardless of the slice that you've chosen. For instance a
6077-
`@DataJpaTest` will all the sudden scan components and user configurations of your
6077+
`@DataJpaTest` will all of a sudden scan components and user configurations of your
60786078
application. Again, moving the custom directive to a separate class is a good way to fix
60796079
this issue.
60806080

0 commit comments

Comments
 (0)