This commit is contained in:
Phillip Webb 2015-10-20 13:53:29 -07:00
parent 673b4f6de5
commit c2a46b8e3b
2 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class BasicErrorController extends AbstractErrorController {
* Provide access to the error properties.
* @return the error properties
*/
protected final ErrorProperties getErrorProperties() {
protected ErrorProperties getErrorProperties() {
return this.errorProperties;
}

View File

@ -77,6 +77,7 @@ import org.springframework.web.util.HtmlUtils;
@EnableConfigurationProperties(ErrorProperties.class)
@Configuration
public class ErrorMvcAutoConfiguration {
@Autowired
private ServerProperties properties;