From e629e77b29dfaac48f1e6353a20537ce61d168f1 Mon Sep 17 00:00:00 2001 From: Jay Bryant Date: Tue, 16 Nov 2021 13:25:49 -0600 Subject: [PATCH] Replace "you're" This commit replaces "you're" with some other structure, often simplifying the sentence in the process. Also checked for words that end with "'ll" and "n't" but did not find any. See gh-28710 --- .../spring-boot-docs/src/docs/asciidoc/data/nosql.adoc | 2 +- .../spring-boot-docs/src/docs/asciidoc/documentation/web.adoc | 4 ++-- .../src/docs/asciidoc/features/external-config.adoc | 2 +- .../spring-boot-docs/src/docs/asciidoc/features/logging.adoc | 2 +- .../spring-boot-docs/src/docs/asciidoc/features/testing.adoc | 2 +- .../spring-boot-docs/src/docs/asciidoc/howto/spring-mvc.adoc | 2 +- .../spring-boot-docs/src/docs/asciidoc/io/caching.adoc | 2 +- .../src/docs/asciidoc/upgrading/to-feature.adoc | 2 +- .../spring-boot-docs/src/docs/asciidoc/web/servlet.adoc | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) 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 eb64652049..7d312822f2 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 49de19ad4c..a2705125fa 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 c53b245d5a..067080e5c5 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 b00e2dc22f..626e1bdd30 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 58f5003036..8838f991c7 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 d794e4be02..febe30cf00 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 efde40105c..81fefd564c 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 1432559e63..0f89c4f332 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 8582d99c7f..589b76ab91 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`"