Commit 626e488d authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #12527 from Igor Suhorukov

* gh-12527:
  Polish "Follow project convention for lambda expression"
  Follow project convention for lambda expression
parents 78571f50 6c77b012
...@@ -816,8 +816,8 @@ public class WebMvcAutoConfigurationTests { ...@@ -816,8 +816,8 @@ public class WebMvcAutoConfigurationTests {
.run((context) -> { .run((context) -> {
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()));
}); });
} }
......
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