Browse Source

Polish

See gh-4448
pull/4456/merge
Stephane Nicoll 10 years ago
parent
commit
0c8d302a98
  1. 2
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java
  2. 2
      spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

2
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java

@ -79,7 +79,7 @@ public class WebMvcProperties { @@ -79,7 +79,7 @@ public class WebMvcProperties {
private Map<String, MediaType> mediaTypes = new LinkedHashMap<String, MediaType>();
/**
* Path that pattern used for static resources.
* Path pattern used for static resources.
*/
private String staticPathPattern = "/**";

2
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. @@ -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.

Loading…
Cancel
Save