Commit c2a46b8e authored by Phillip Webb's avatar Phillip Webb

Polish

parent 673b4f6d
...@@ -116,7 +116,7 @@ public class BasicErrorController extends AbstractErrorController { ...@@ -116,7 +116,7 @@ public class BasicErrorController extends AbstractErrorController {
* Provide access to the error properties. * Provide access to the error properties.
* @return the error properties * @return the error properties
*/ */
protected final ErrorProperties getErrorProperties() { protected ErrorProperties getErrorProperties() {
return this.errorProperties; return this.errorProperties;
} }
......
...@@ -77,6 +77,7 @@ import org.springframework.web.util.HtmlUtils; ...@@ -77,6 +77,7 @@ import org.springframework.web.util.HtmlUtils;
@EnableConfigurationProperties(ErrorProperties.class) @EnableConfigurationProperties(ErrorProperties.class)
@Configuration @Configuration
public class ErrorMvcAutoConfiguration { public class ErrorMvcAutoConfiguration {
@Autowired @Autowired
private ServerProperties properties; private ServerProperties properties;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment