From 674f1e77b562846dd318d2d5421d0a354253c903 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Fri, 27 Mar 2020 18:21:02 +0100 Subject: [PATCH] Fix typos See gh-20704 --- .../boot/actuate/solr/SolrHealthIndicator.java | 2 +- .../boot/autoconfigure/condition/OnBeanCondition.java | 2 +- .../src/docs/asciidoc/spring-boot-features.adoc | 2 +- .../test/context/runner/AbstractApplicationContextRunner.java | 4 ++-- .../org/springframework/boot/jarmode/layertools/Command.java | 2 +- .../boot/loader/tools/InputStreamSupplier.java | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/solr/SolrHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/solr/SolrHealthIndicator.java index 205fb9abe2..7f475ad55f 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/solr/SolrHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/solr/SolrHealthIndicator.java @@ -59,7 +59,7 @@ public class SolrHealthIndicator extends AbstractHealthIndicator { private int initializeStatusCheck() throws Exception { StatusCheck statusCheck = this.statusCheck; if (statusCheck != null) { - // Already initilized + // Already initialized return statusCheck.getStatus(this.solrClient); } try { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java index 4f774c7ed3..eb447b0741 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java @@ -733,7 +733,7 @@ class OnBeanCondition extends FilteringSpringBootCondition implements Configurat } /** - * Exteption thrown when the bean type cannot be deduced. + * Exception thrown when the bean type cannot be deduced. */ static final class BeanTypeDeductionException extends RuntimeException { diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index 8d1a139221..fec26ff8dc 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -1413,7 +1413,7 @@ These are: The default unit is bytes and can be overridden using `@DataSizeUnit` as illustrated in the sample above. -TIP: If you are upgrading from a previous version that is simply using `Long` to express the size, make sure to define the unit (using `@DataSizeUnit`) if it isn't bytes alongsidethe switch to `DataSize`. +TIP: If you are upgrading from a previous version that is simply using `Long` to express the size, make sure to define the unit (using `@DataSizeUnit`) if it isn't bytes alongside the switch to `DataSize`. Doing so gives a transparent upgrade path while supporting a much richer format. diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/runner/AbstractApplicationContextRunner.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/runner/AbstractApplicationContextRunner.java index ee7dfd87a7..3c13f620cf 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/runner/AbstractApplicationContextRunner.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/runner/AbstractApplicationContextRunner.java @@ -179,8 +179,8 @@ public abstract class AbstractApplicationContextRunner options, List parameters); diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/InputStreamSupplier.java b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/InputStreamSupplier.java index 093fb01cd0..cb61079f44 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/InputStreamSupplier.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/InputStreamSupplier.java @@ -30,7 +30,7 @@ import java.io.InputStream; interface InputStreamSupplier { /** - * Returns a new open {@link InputStream} at the begining of the content. + * Returns a new open {@link InputStream} at the beginning of the content. * @return a new {@link InputStream} * @throws IOException on IO error */