diff --git a/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java b/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java index 743fe1a43c..3ab1518029 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java @@ -57,7 +57,7 @@ import org.springframework.boot.build.toolchain.ToolchainPlugin; * plugin is applied: * *
* Helpful when setting up test data in a test:
@@ -61,7 +61,7 @@ public class TestEntityManager {
}
/**
- * Make an instance managed and persistent then return it's ID. Delegates to
+ * Make an instance managed and persistent then return its ID. Delegates to
* {@link EntityManager#persist(Object)} then {@link #getId(Object, Class)}.
*
* Helpful when setting up test data in a test:
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildpackResolver.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildpackResolver.java
index 3711fdb5be..487847c7d2 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildpackResolver.java
+++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildpackResolver.java
@@ -17,7 +17,7 @@
package org.springframework.boot.buildpack.platform.build;
/**
- * Strategy inerface used to resolve a {@link BuildpackReference} to a {@link Buildpack}.
+ * Strategy interface used to resolve a {@link BuildpackReference} to a {@link Buildpack}.
*
* @author Scott Frederick
* @author Phillip Webb
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/EphemeralBuilder.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/EphemeralBuilder.java
index 1f221327da..347d7b5c69 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/EphemeralBuilder.java
+++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/EphemeralBuilder.java
@@ -27,7 +27,7 @@ import org.springframework.boot.buildpack.platform.io.Content;
import org.springframework.boot.buildpack.platform.io.Owner;
/**
- * An short lived builder that is created for each {@link Lifecycle} run.
+ * A short lived builder that is created for each {@link Lifecycle} run.
*
* @author Phillip Webb
* @author Scott Frederick
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpClientTransport.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpClientTransport.java
index f2d0794202..6c4ea53db2 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpClientTransport.java
+++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpClientTransport.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2020 the original author or authors.
+ * Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -66,7 +66,7 @@ abstract class HttpClientTransport implements HttpTransport {
}
/**
- * Perform a HTTP GET operation.
+ * Perform an HTTP GET operation.
* @param uri the destination URI
* @return the operation response
*/
@@ -76,7 +76,7 @@ abstract class HttpClientTransport implements HttpTransport {
}
/**
- * Perform a HTTP POST operation.
+ * Perform an HTTP POST operation.
* @param uri the destination URI
* @return the operation response
*/
@@ -86,7 +86,7 @@ abstract class HttpClientTransport implements HttpTransport {
}
/**
- * Perform a HTTP POST operation.
+ * Perform an HTTP POST operation.
* @param uri the destination URI
* @param registryAuth registry authentication credentials
* @return the operation response
@@ -97,7 +97,7 @@ abstract class HttpClientTransport implements HttpTransport {
}
/**
- * Perform a HTTP POST operation.
+ * Perform an HTTP POST operation.
* @param uri the destination URI
* @param contentType the content type to write
* @param writer a content writer
@@ -109,7 +109,7 @@ abstract class HttpClientTransport implements HttpTransport {
}
/**
- * Perform a HTTP PUT operation.
+ * Perform an HTTP PUT operation.
* @param uri the destination URI
* @param contentType the content type to write
* @param writer a content writer
@@ -121,7 +121,7 @@ abstract class HttpClientTransport implements HttpTransport {
}
/**
- * Perform a HTTP DELETE operation.
+ * Perform an HTTP DELETE operation.
* @param uri the destination URI
* @return the operation response
*/
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpTransport.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpTransport.java
index 3814b93ed4..432e566573 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpTransport.java
+++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/HttpTransport.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2020 the original author or authors.
+ * Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ import org.springframework.boot.buildpack.platform.system.Environment;
public interface HttpTransport {
/**
- * Perform a HTTP GET operation.
+ * Perform an HTTP GET operation.
* @param uri the destination URI (excluding any host/port)
* @return the operation response
* @throws IOException on IO error
@@ -45,7 +45,7 @@ public interface HttpTransport {
Response get(URI uri) throws IOException;
/**
- * Perform a HTTP POST operation.
+ * Perform an HTTP POST operation.
* @param uri the destination URI (excluding any host/port)
* @return the operation response
* @throws IOException on IO error
@@ -53,7 +53,7 @@ public interface HttpTransport {
Response post(URI uri) throws IOException;
/**
- * Perform a HTTP POST operation.
+ * Perform an HTTP POST operation.
* @param uri the destination URI (excluding any host/port)
* @param registryAuth registry authentication credentials
* @return the operation response
@@ -62,7 +62,7 @@ public interface HttpTransport {
Response post(URI uri, String registryAuth) throws IOException;
/**
- * Perform a HTTP POST operation.
+ * Perform an HTTP POST operation.
* @param uri the destination URI (excluding any host/port)
* @param contentType the content type to write
* @param writer a content writer
@@ -72,7 +72,7 @@ public interface HttpTransport {
Response post(URI uri, String contentType, IOConsumer writer) throws IOException;
/**
- * Perform a HTTP PUT operation.
+ * Perform an HTTP PUT operation.
* @param uri the destination URI (excluding any host/port)
* @param contentType the content type to write
* @param writer a content writer
@@ -82,7 +82,7 @@ public interface HttpTransport {
Response put(URI uri, String contentType, IOConsumer writer) throws IOException;
/**
- * Perform a HTTP DELETE operation.
+ * Perform an HTTP DELETE operation.
* @param uri the destination URI (excluding any host/port)
* @return the operation response
* @throws IOException on IO error
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/LombokMetadataGenerationTests.java b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/LombokMetadataGenerationTests.java
index 6e63bb1b5a..524c200f77 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/LombokMetadataGenerationTests.java
+++ b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/LombokMetadataGenerationTests.java
@@ -110,7 +110,7 @@ class LombokMetadataGenerationTests extends AbstractMetadataGenerationTests {
// For some reason the annotation processor resolves a type for SimpleLombokPojo
// that is resolved (compiled) and the source annotations are gone. Because we
// don't see the @Data annotation anymore, no field is harvested. What is crazy is
- // that a sample project works fine so this seem to be related to the unit test
+ // that a sample project works fine so this seems to be related to the unit test
// environment for some reason. assertThat(metadata,
// containsProperty("config.third.value"));
assertThat(metadata).has(Metadata.withProperty("config.fourth"));
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/endpoint/CamelCaseEndpoint.java b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/endpoint/CamelCaseEndpoint.java
index 8d787ecfb3..ad5b35fd98 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/endpoint/CamelCaseEndpoint.java
+++ b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/endpoint/CamelCaseEndpoint.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2019 the original author or authors.
+ * Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ package org.springframework.boot.configurationsample.endpoint;
import org.springframework.boot.configurationsample.Endpoint;
/**
- * An endpoint with a upper camel case id.
+ * An endpoint with an upper camel case id.
*
* @author Stephane Nicoll
*/
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc
index 0d1677aac2..42768558e3 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc
+++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc
@@ -392,7 +392,7 @@ include::../gradle/packaging/boot-build-image-docker-host.gradle[tags=docker-hos
include::../gradle/packaging/boot-build-image-docker-host.gradle.kts[tags=docker-host]
----
-If the builder or run image are stored in a private Docker registry that supports user authentication, authentication details can be provided using `docker.buiderRegistry` properties as shown in the following example:
+If the builder or run image are stored in a private Docker registry that supports user authentication, authentication details can be provided using `docker.builderRegistry` properties as shown in the following example:
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
.Groovy
diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java
index 95f2ecee4f..f786e6c7bb 100644
--- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java
+++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java
@@ -55,7 +55,7 @@ import org.springframework.boot.loader.tools.Libraries;
import org.springframework.util.StringUtils;
/**
- * Package an application into a OCI image using a buildpack.
+ * Package an application into an OCI image using a buildpack.
*
* @author Phillip Webb
* @author Scott Frederick
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapRegistry.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapRegistry.java
index c3637c652c..3b9dfb9ffc 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapRegistry.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapRegistry.java
@@ -175,7 +175,7 @@ public interface BootstrapRegistry {
SINGLETON,
/**
- * A prototype instance. The {@link InstanceSupplier} will be called whenver an
+ * A prototype instance. The {@link InstanceSupplier} will be called whenever an
* instance is needed.
*/
PROTOTYPE
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributor.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributor.java
index fa68f8e427..a4b88da64a 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributor.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributor.java
@@ -221,7 +221,7 @@ class ConfigDataEnvironmentContributor implements Iterable implements ConfigurationPropert
}
/**
- * Get an value from the cache, creating it if necessary.
+ * Get a value from the cache, creating it if necessary.
* @param factory a factory used to create the item if there is no reference to it.
* @param refreshAction action called to refresh the value if it has expired
* @return the value from the cache
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/PlatformPlaceholderDatabaseDriverResolver.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/PlatformPlaceholderDatabaseDriverResolver.java
index 748c55dee2..10e62713d2 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/PlatformPlaceholderDatabaseDriverResolver.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/PlatformPlaceholderDatabaseDriverResolver.java
@@ -30,7 +30,7 @@ import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
/**
- * Utility class that can resolve placholder text with the actual {@link DatabaseDriver}
+ * Utility class that can resolve placeholder text with the actual {@link DatabaseDriver}
* platform.
*
* By default, the name of the platform is the {@link DatabaseDriver#getId ID of the
@@ -70,7 +70,7 @@ public class PlatformPlaceholderDatabaseDriverResolver {
}
/**
- * Creates a new {@code PlatformPlaceholdDatabaseDriverResolver} that will map the
+ * Creates a new {@link PlatformPlaceholderDatabaseDriverResolver} that will map the
* given {@code driver} to the given {@code platform}.
* @param driver the driver
* @param platform the platform
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/package-info.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/package-info.java
index 156ea334f2..020ba41e9c 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/package-info.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/init/package-info.java
@@ -15,7 +15,7 @@
*/
/**
- * Support for initializaton of an SQL database using a JDBC {@link javax.sql.DataSource
+ * Support for initialization of an SQL database using a JDBC {@link javax.sql.DataSource
* DataSource}.
*/
package org.springframework.boot.jdbc.init;
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/r2dbc/init/package-info.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/r2dbc/init/package-info.java
index adb8e093f7..700c924b85 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/r2dbc/init/package-info.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/r2dbc/init/package-info.java
@@ -15,7 +15,7 @@
*/
/**
- * Support for initializaton of an SQL database using an R2DBC
+ * Support for initialization of an SQL database using an R2DBC
* {@link io.r2dbc.spi.ConnectionFactory ConnectionFactory}.
*/
package org.springframework.boot.r2dbc.init;
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/sql/init/package-info.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/sql/init/package-info.java
index a325f9d1b3..9365e5ec4f 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/sql/init/package-info.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/sql/init/package-info.java
@@ -15,6 +15,6 @@
*/
/**
- * Support for initializaton of an SQL database.
+ * Support for initialization of an SQL database.
*/
package org.springframework.boot.sql.init;
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java
index 7772205886..236a14af2c 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java
@@ -93,7 +93,7 @@ public class MessageInterpolatorFactory implements ObjectFactory