mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix typos
See gh-20704
This commit is contained in:
parent
7a64b3f761
commit
674f1e77b5
@ -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 {
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
||||
|
@ -179,8 +179,8 @@ public abstract class AbstractApplicationContextRunner<SELF extends AbstractAppl
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a {@link ApplicationContextInitializer} to be
|
||||
* calWebMvcEndpointChildContextConfigurationTestsled when the context is created.
|
||||
* Add an {@link ApplicationContextInitializer} to be called when the context is
|
||||
* created.
|
||||
* @param initializer the initializer to add
|
||||
* @return a new instance with the updated initializers
|
||||
*/
|
||||
|
@ -110,7 +110,7 @@ abstract class Command {
|
||||
/**
|
||||
* Run the actual command.
|
||||
* @param options any options extracted from the arguments
|
||||
* @param parameters any parameters extracted from the arguements
|
||||
* @param parameters any parameters extracted from the arguments
|
||||
*/
|
||||
protected abstract void run(Map<Option, String> options, List<String> parameters);
|
||||
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user