Polish
This commit is contained in:
parent
673b4f6de5
commit
c2a46b8e3b
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ import org.springframework.web.util.HtmlUtils;
|
|||
@EnableConfigurationProperties(ErrorProperties.class)
|
||||
@Configuration
|
||||
public class ErrorMvcAutoConfiguration {
|
||||
|
||||
@Autowired
|
||||
private ServerProperties properties;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue