From 0c8d302a98d6dea216374a0b3b0f78cd54e9eb8a Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 13 Nov 2015 09:50:04 +0100 Subject: [PATCH] Polish See gh-4448 --- .../boot/autoconfigure/web/WebMvcProperties.java | 2 +- .../src/main/asciidoc/appendix-application-properties.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java index bf7e4b84ed9..6f4a9e1bbdb 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java @@ -79,7 +79,7 @@ public class WebMvcProperties { private Map mediaTypes = new LinkedHashMap(); /** - * Path that pattern used for static resources. + * Path pattern used for static resources. */ private String staticPathPattern = "/**"; 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 eac5e957950..76066e052ff 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -310,7 +310,7 @@ content into your application; rather pick only the properties that you need. spring.mvc.locale= # Locale to use. spring.mvc.media-types.*= # Maps file extensions to media types for content negotiation. spring.mvc.message-codes-resolver-format= # Formatting strategy for message codes. For instance `PREFIX_ERROR_CODE`. - spring.mvc.static-path-pattern=/** # Path that pattern used for static resources. + spring.mvc.static-path-pattern=/** # Path pattern used for static resources. spring.mvc.throw-exception-if-no-handler-found=false # If a "NoHandlerFoundException" should be thrown if no Handler was found to process a request. spring.mvc.view.prefix= # Spring MVC view prefix. spring.mvc.view.suffix= # Spring MVC view suffix.