Remove unnecessary constructor

Closes gh-6202
pull/6206/head
Johnny Lim 9 years ago committed by Stephane Nicoll
parent a395679b95
commit e0389cb9d8

@ -26,7 +26,6 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProviders;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.core.Ordered;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpStatus;
@ -99,14 +98,6 @@ public class DefaultErrorViewResolver implements ErrorViewResolver, Ordered {
this.templateAvailabilityProviders = templateAvailabilityProviders;
}
DefaultErrorViewResolver(AnnotationConfigApplicationContext applicationContext,
ResourceProperties resourceProperties,
TemplateAvailabilityProviders templateAvailabilityProviders) {
this.applicationContext = applicationContext;
this.resourceProperties = resourceProperties;
this.templateAvailabilityProviders = templateAvailabilityProviders;
}
@Override
public ModelAndView resolveErrorView(HttpServletRequest request, HttpStatus status,
Map<String, Object> model) {

Loading…
Cancel
Save