Merge pull request #12527 from Igor Suhorukov

* gh-12527:
  Polish "Follow project convention for lambda expression"
  Follow project convention for lambda expression
pull/12535/head
Andy Wilkinson 7 years ago
commit 626e488da5

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

Loading…
Cancel
Save