Skip to content

Commit 6c77b01

Browse files
committed
Polish "Follow project convention for lambda expression"
Csee gh-12527
1 parent 261264c commit 6c77b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,8 @@ public void customConfigurerAppliedAfterAutoConfig() {
816816
.run((context) -> {
817817
ContentNegotiationManager manager = context
818818
.getBean(ContentNegotiationManager.class);
819-
assertThat(manager.getStrategies()).anyMatch(
820-
(strategy) -> WebMvcAutoConfiguration.OptionalPathExtensionContentNegotiationStrategy.class
819+
assertThat(manager.getStrategies()).anyMatch((
820+
strategy) -> WebMvcAutoConfiguration.OptionalPathExtensionContentNegotiationStrategy.class
821821
.isAssignableFrom(strategy.getClass()));
822822
});
823823
}

0 commit comments

Comments
 (0)