Commit 4352707e authored by Phillip Webb's avatar Phillip Webb

Call afterProperties set in LogFileMvcEndpoint

Call afterPropertiesSet on the delegate `ResourceHttpRequestHandler`
to prevent an NPE. This change is required following SPR-13834.
parent 1b6c2a3e
......@@ -147,6 +147,12 @@ public class LogFileMvcEndpoint implements MvcEndpoint, EnvironmentAware {
Handler(Resource resource) {
this.resource = resource;
try {
afterPropertiesSet();
}
catch (Exception ex) {
throw new IllegalStateException(ex);
}
}
@Override
......
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