Remove reference to spring.view.*

Closes gh-3278
This commit is contained in:
Stephane Nicoll
2016-01-26 08:19:22 +01:00
parent 02871696cc
commit 854a67588e
2 changed files with 1 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,6 @@ import java.util.LinkedHashMap;
import java.util.Locale;
import java.util.Map;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.http.MediaType;
import org.springframework.validation.DefaultMessageCodesResolver;
@@ -193,13 +192,11 @@ public class WebMvcProperties {
/**
* Spring MVC view prefix.
*/
@Value("${spring.view.prefix:}")
private String prefix;
/**
* Spring MVC view suffix.
*/
@Value("${spring.view.suffix:}")
private String suffix;
public String getPrefix() {

View File

@@ -159,22 +159,6 @@
"type": "java.lang.Boolean",
"description": "Enable the connection status view for supported providers.",
"defaultValue": false
},
{
"name": "spring.view.prefix",
"type": "java.lang.String",
"description": "Spring MVC view prefix.",
"deprecation": {
"replacement": "spring.mvc.view.prefix"
}
},
{
"name": "spring.view.suffix",
"type": "java.lang.String",
"description": "Spring MVC view suffix.",
"deprecation": {
"replacement": "spring.mvc.view.suffix"
}
}
],"hints": [
{