Fix some typos in docs

See gh-27968
This commit is contained in:
Dmitriy Bogdanov
2021-09-13 13:52:28 +04:00
committed by Stephane Nicoll
parent 92aee23ed2
commit 2ad3428039
6 changed files with 9 additions and 9 deletions

View File

@@ -274,7 +274,7 @@ You can configure global devtools settings by adding any of the following files
. `spring-boot-devtools.yaml`
. `spring-boot-devtools.yml`
Any properties added to these file apply to _all_ Spring Boot applications on your machine that use devtools.
Any properties added to these files apply to _all_ Spring Boot applications on your machine that use devtools.
For example, to configure restart to always use a <<using#using.devtools.restart.triggerfile, trigger file>>, you would add the following property to your `spring-boot-devtools` file:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]

View File

@@ -4,7 +4,7 @@ One of the biggest advantages of packaging your application as a jar and using a
The sample applies to debugging Spring Boot applications.
You do not need any special IDE plugins or extensions.
NOTE: This section only covers jar based packaging.
NOTE: This section only covers jar-based packaging.
If you choose to package your application as a war file, you should refer to your server and IDE documentation.

View File

@@ -4,7 +4,7 @@ You are free to use any of the standard Spring Framework techniques to define yo
We generally recommend using constructor injection to wire up dependencies and `@ComponentScan` to find beans.
If you structure your code as suggested above (locating your application class in a top package), you can add `@ComponentScan` without any arguments or use the `@SpringBootApplication` annotation which implicitly includes it.
All of your application components (`@Component`, `@Service`, `@Repository`, `@Controller` etc.) are automatically registered as Spring Beans.
All of your application components (`@Component`, `@Service`, `@Repository`, `@Controller`, etc.) are automatically registered as Spring Beans.
The following example shows a `@Service` Bean that uses constructor injection to obtain a required `RiskAssessor` bean: