Commit ba297884 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Replace explicit generic type with diamond operator"

Closes gh-15424
parent a2ebba8d
......@@ -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());
}
}
......
/*
* 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.
......
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