Follow project convention for lambda expression

Closes gh-12527
pull/12535/head
igor-suhorukov 7 years ago committed by Andy Wilkinson
parent 78571f50f8
commit 261264cef3

@ -817,7 +817,7 @@ public class WebMvcAutoConfigurationTests {
ContentNegotiationManager manager = context ContentNegotiationManager manager = context
.getBean(ContentNegotiationManager.class); .getBean(ContentNegotiationManager.class);
assertThat(manager.getStrategies()).anyMatch( assertThat(manager.getStrategies()).anyMatch(
strategy -> WebMvcAutoConfiguration.OptionalPathExtensionContentNegotiationStrategy.class (strategy) -> WebMvcAutoConfiguration.OptionalPathExtensionContentNegotiationStrategy.class
.isAssignableFrom(strategy.getClass())); .isAssignableFrom(strategy.getClass()));
}); });
} }

Loading…
Cancel
Save