Polish "Replace explicit generic type with diamond operator"

Closes gh-15424
pull/15427/head
Stephane Nicoll 6 years ago
parent a2ebba8db1
commit ba29788482

@ -257,8 +257,7 @@ public class FreeMarkerAutoConfigurationServletIntegrationTests {
@Bean
public FilterRegistrationBean<OrderedCharacterEncodingFilter> filterRegistration() {
return new FilterRegistrationBean<>(
new OrderedCharacterEncodingFilter());
return new FilterRegistrationBean<>(new OrderedCharacterEncodingFilter());
}
}

@ -372,8 +372,7 @@ public class ThymeleafServletAutoConfigurationTests {
@Bean
public FilterRegistrationBean<OrderedCharacterEncodingFilter> filterRegistration() {
return new FilterRegistrationBean<>(
new OrderedCharacterEncodingFilter());
return new FilterRegistrationBean<>(new OrderedCharacterEncodingFilter());
}
}

@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

Loading…
Cancel
Save