diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/nosql.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/nosql.adoc index eb646520498..7d312822f23 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/nosql.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/nosql.adoc @@ -431,7 +431,7 @@ For more advanced driver customizations, you can register an arbitrary number of The `CqlSession` can be customized with a bean of type `CqlSessionBuilderCustomizer`. ==== -NOTE: If you're using `CqlSessionBuilder` to create multiple `CqlSession` beans, keep in mind the builder is mutable so make sure to inject a fresh copy for each session. +NOTE: If you use `CqlSessionBuilder` to create multiple `CqlSession` beans, keep in mind the builder is mutable so make sure to inject a fresh copy for each session. The following code listing shows how to inject a Cassandra bean: diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/web.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/web.adoc index 49de19ad4c9..a2705125fa1 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/web.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/web.adoc @@ -1,10 +1,10 @@ [[documentation.web]] == Web -If you're developing Spring Boot web applications, take a look at the following content: +If you develop Spring Boot web applications, take a look at the following content: * *Servlet Web Applications:* <> * *Reactive Web Applications:* <> * *Graceful Shutdown:* <> * *Spring Security:* <> * *Spring Session:* <> -* *Spring HATEOAS:* <> \ No newline at end of file +* *Spring HATEOAS:* <> diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc index c53b245d5a4..067080e5c5d 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc @@ -546,7 +546,7 @@ Spring Boot does not provide any built in support for encrypting property values The `EnvironmentPostProcessor` interface allows you to manipulate the `Environment` before the application starts. See <> for details. -If you're looking for a secure way to store credentials and passwords, the https://cloud.spring.io/spring-cloud-vault/[Spring Cloud Vault] project provides support for storing externalized configuration in https://www.vaultproject.io/[HashiCorp Vault]. +If you need a secure way to store credentials and passwords, the https://cloud.spring.io/spring-cloud-vault/[Spring Cloud Vault] project provides support for storing externalized configuration in https://www.vaultproject.io/[HashiCorp Vault]. diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc index b00e2dc22f6..626e1bdd300 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc @@ -357,7 +357,7 @@ To help with the customization, some other properties are transferred from the S | The current process ID (discovered if possible and when not already defined as an OS environment variable). |=== -If you're using Logback, the following properties are also transferred: +If you use Logback, the following properties are also transferred: |=== | Spring Environment | System Property | Comments diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc index 58f5003036f..8838f991c72 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc @@ -354,7 +354,7 @@ include::{docs-java}/features/testing/springbootapplications/jsontests/MyJsonTes NOTE: JSON helper classes can also be used directly in standard unit tests. To do so, call the `initFields` method of the helper in your `@Before` method if you do not use `@JsonTest`. -If you're using Spring Boot's AssertJ-based helpers to assert on a number value at a given JSON path, you might not be able to use `isEqualTo` depending on the type. +If you use Spring Boot's AssertJ-based helpers to assert on a number value at a given JSON path, you might not be able to use `isEqualTo` depending on the type. Instead, you can use AssertJ's `satisfies` to assert that the value matches the given condition. For instance, the following example asserts that the actual number is a float value close to `0.15` within an offset of `0.01`. diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/spring-mvc.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/spring-mvc.adoc index d794e4be023..febe30cf001 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/spring-mvc.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/spring-mvc.adoc @@ -42,7 +42,7 @@ include::{docs-java}/howto/springmvc/writexmlrestservice/MyThing.java[] ---- JAXB is only available out of the box with Java 8. -If you're using a more recent Java generation, add the following dependency to your project: +If you use a more recent Java generation, add the following dependency to your project: [source,xml,indent=0,subs="verbatim"] ---- diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/io/caching.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/io/caching.adoc index efde40105c3..81fefd564c6 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/io/caching.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/io/caching.adoc @@ -201,7 +201,7 @@ NOTE: By default, a key prefix is added so that, if two separate caches use the We strongly recommend keeping this setting enabled if you create your own `RedisCacheManager`. TIP: You can take full control of the default configuration by adding a `RedisCacheConfiguration` `@Bean` of your own. -This can be useful if you're looking for customizing the default serialization strategy. +This can be useful if you need to customizing the default serialization strategy. If you need more control over the configuration, consider registering a `RedisCacheManagerBuilderCustomizer` bean. The following example shows a customizer that configures a specific time to live for `cache1` and `cache2`: diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/to-feature.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/to-feature.adoc index 1432559e637..0f89c4f3323 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/to-feature.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/to-feature.adoc @@ -16,4 +16,4 @@ To enable that feature, add the following dependency to your project: WARNING: Properties that are added late to the environment, such as when using `@PropertySource`, will not be taken into account. -NOTE: Once you're done with the migration, please make sure to remove this module from your project's dependencies. \ No newline at end of file +NOTE: Once you finish the migration, please make sure to remove this module from your project's dependencies. diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/servlet.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/servlet.adoc index 8582d99c7f8..589b76ab913 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/servlet.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/servlet.adoc @@ -1,6 +1,6 @@ [[web.servlet]] == Servlet Web Applications -If you're looking to build servlet-based web applications, you can take advantage of Spring Boot's auto-configuration for Spring MVC or Jersey. +If you want to build servlet-based web applications, you can take advantage of Spring Boot's auto-configuration for Spring MVC or Jersey. [[web.servlet.spring-mvc]] === The "`Spring Web MVC Framework`"