From ec7fed1ecc084ed8834d6caeb5250ad2b6319b12 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 4 Dec 2015 20:18:03 +0900 Subject: [PATCH] Polish Closes gh-4677 --- .../boot/actuate/security/AuthenticationAuditListener.java | 2 +- .../autoconfigure/condition/OnWebApplicationCondition.java | 2 +- .../src/main/asciidoc/appendix-application-properties.adoc | 2 +- spring-boot-docs/src/main/asciidoc/deployment.adoc | 4 ++-- spring-boot-docs/src/main/asciidoc/getting-started.adoc | 2 +- .../boot/configurationmetadata/ConfigurationMetadataItem.java | 2 +- .../java/org/springframework/boot/loader/tools/Layouts.java | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java index 7f74cb16ef5..e5c481fcbb2 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java @@ -29,7 +29,7 @@ import org.springframework.security.web.authentication.switchuser.Authentication import org.springframework.util.ClassUtils; /** - * Default implementation of {@link AuthenticationAuditListener}. + * Default implementation of {@link AbstractAuthenticationAuditListener}. * * @author Dave Syer */ diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnWebApplicationCondition.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnWebApplicationCondition.java index f787323ece1..7537a5f723c 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnWebApplicationCondition.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnWebApplicationCondition.java @@ -27,7 +27,7 @@ import org.springframework.web.context.WebApplicationContext; import org.springframework.web.context.support.StandardServletEnvironment; /** - * {@link Condition} that checks for a the presence or absence of + * {@link Condition} that checks for the presence or absence of * {@link WebApplicationContext}. * * @author Dave Syer diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index f4ac785aa79..4642db19507 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -303,7 +303,7 @@ content into your application; rather pick only the properties that you need. # SPRING MVC ({sc-spring-boot-autoconfigure}/web/WebMvcProperties.{sc-ext}[WebMvcProperties]) spring.mvc.async.request-timeout= # Amount of time (in milliseconds) before asynchronous request handling times out. spring.mvc.date-format= # Date format to use. For instance `dd/MM/yyyy`. - spring.mvc.dispatch-trace-request=false # Dispatch TRACE requests to the FrameworkServlet doService method. + spring.mvc.dispatch-trace-request=false # Dispatch TRACE requests to the FrameworkServlet doService method. spring.mvc.dispatch-options-request=false # Dispatch OPTIONS requests to the FrameworkServlet doService method. spring.mvc.favicon.enabled=true # Enable resolution of favicon.ico. spring.mvc.ignore-default-model-on-redirect=true # If the content of the "default" model should be ignored during redirect scenarios. diff --git a/spring-boot-docs/src/main/asciidoc/deployment.adoc b/spring-boot-docs/src/main/asciidoc/deployment.adoc index 6cf76ccbe84..a0a29be76b8 100644 --- a/spring-boot-docs/src/main/asciidoc/deployment.adoc +++ b/spring-boot-docs/src/main/asciidoc/deployment.adoc @@ -323,7 +323,7 @@ https://boxfuse.com/docs/payloads/springboot.html#configuration [`application-boxfuse.properties`] file, Boxfuse will base its configuration based on the properties it contains. -At this point `boxfuse` will start create an image for your application, upload it, +At this point `boxfuse` will create an image for your application, upload it, and then configure and start the necessary resources on AWS: [indent=0,subs="verbatim,quotes,attributes"] @@ -350,7 +350,7 @@ and then configure and start the necessary resources on AWS: Your application should now be up and running on AWS. There's a blog on https://boxfuse.com/blog/spring-boot-ec2.html[deploying Spring Boot apps -on EC2] as well as well as https://boxfuse.com/docs/payloads/springboot.html[documentation +on EC2] as well as https://boxfuse.com/docs/payloads/springboot.html[documentation for the Boxfuse Spring Boot integration] on their website that will get you started with a Maven build to run the app. diff --git a/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-docs/src/main/asciidoc/getting-started.adoc index 7632fe2a112..e85ba8b3cc6 100644 --- a/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -539,7 +539,7 @@ Spring Boot provides a number of "`Starter POMs`" that make easy to add jars to classpath. Our sample application has already used `spring-boot-starter-parent` in the `parent` section of the POM. The `spring-boot-starter-parent` is a special starter that provides useful Maven defaults. It also provides a -<> +<> section so that you can omit `version` tags for "`blessed`" dependencies. Other "`Starter POMs`" simply provide dependencies that you are likely to need when diff --git a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java index 0d7de9dc684..69e9cc5324d 100644 --- a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java +++ b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java @@ -17,7 +17,7 @@ package org.springframework.boot.configurationmetadata; /** - * An extension of {@link ConfigurationMetadataProperty} that provides the a reference to + * An extension of {@link ConfigurationMetadataProperty} that provides a reference to * its source. * * @author Stephane Nicoll diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java index a4505a83dd2..8eb4bf091ba 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java @@ -37,7 +37,7 @@ public final class Layouts { } /** - * Return the a layout for the given source file. + * Return a layout for the given source file. * @param file the source file * @return a {@link Layout} */