Polish "Replace explicit generic type with diamond operator"
Closes gh-15424
This commit is contained in:
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…
Reference in New Issue