Commit 084b2889 authored by Phillip Webb's avatar Phillip Webb

Polish

parent 5e0ba6ea
......@@ -407,11 +407,13 @@ public class JettyEmbeddedServletContainerFactory
*/
private Configuration getErrorPageConfiguration() {
return new AbstractConfiguration() {
@Override
public void configure(WebAppContext context) throws Exception {
ErrorHandler errorHandler = context.getErrorHandler();
addJettyErrorPages(errorHandler, getErrorPages());
}
};
}
......@@ -421,6 +423,7 @@ public class JettyEmbeddedServletContainerFactory
*/
private Configuration getMimeTypeConfiguration() {
return new AbstractConfiguration() {
@Override
public void configure(WebAppContext context) throws Exception {
MimeTypes mimeTypes = context.getMimeTypes();
......@@ -429,6 +432,7 @@ public class JettyEmbeddedServletContainerFactory
mapping.getMimeType());
}
}
};
}
......
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