diff --git a/core/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssert.java b/core/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssert.java index 4b3880e5683..74daba04d38 100644 --- a/core/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssert.java +++ b/core/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssert.java @@ -251,7 +251,7 @@ public class ApplicationContextAssert * given type */ @CheckReturnValue - public AbstractObjectAssert getBean(Class type) { + public AbstractObjectAssert getBean(Class type) { return getBean(type, Scope.INCLUDE_ANCESTORS); } @@ -273,7 +273,7 @@ public class ApplicationContextAssert * given type */ @CheckReturnValue - public AbstractObjectAssert getBean(Class type, Scope scope) { + public AbstractObjectAssert getBean(Class type, Scope scope) { Assert.notNull(scope, "'scope' must not be null"); if (this.startupFailure != null) { throwAssertionError( @@ -334,7 +334,7 @@ public class ApplicationContextAssert * @throws AssertionError if the application context did not start */ @CheckReturnValue - public AbstractObjectAssert getBean(String name) { + public AbstractObjectAssert getBean(String name) { if (this.startupFailure != null) { throwAssertionError( contextFailedToStartWhenExpecting(this.startupFailure, "to contain a bean of name:%n <%s>", name)); @@ -362,7 +362,7 @@ public class ApplicationContextAssert */ @SuppressWarnings("unchecked") @CheckReturnValue - public AbstractObjectAssert getBean(String name, Class type) { + public AbstractObjectAssert getBean(String name, Class type) { if (this.startupFailure != null) { throwAssertionError(contextFailedToStartWhenExpecting(this.startupFailure, "to contain a bean of name:%n <%s> (%s)", name, type)); diff --git a/gradle.properties b/gradle.properties index add296dbf69..d3bf60e1a97 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ kotlinVersion=2.3.21 mavenVersion=3.9.13 mockitoVersion=5.23.0 nativeBuildToolsVersion=1.1.1 -nullabilityPluginVersion=0.0.11 +nullabilityPluginVersion=0.0.14 snakeYamlVersion=2.6 springGrpcVersion=1.1.0 springFrameworkVersion=7.0.8