Skip to content

Commit 8715efc

Browse files
committed
Polish "Address new warnings from NullAway 0.13.6"
See gh-50701
1 parent 2b7f6f3 commit 8715efc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssert.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public <T> AbstractObjectArrayAssert<?, String> getBeanNames(Class<T> type) {
248248
* @throws AssertionError if the application context contains multiple beans of the
249249
* given type
250250
*/
251-
public <T> AbstractObjectAssert<?, T> getBean(Class<T> type) {
251+
public <T> AbstractObjectAssert<?, @Nullable T> getBean(Class<T> type) {
252252
return getBean(type, Scope.INCLUDE_ANCESTORS);
253253
}
254254

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kotlinVersion=2.2.21
1919
mavenVersion=3.9.13
2020
mockitoVersion=5.20.0
2121
nativeBuildToolsVersion=0.11.5
22-
nullabilityPluginVersion=0.0.11
22+
nullabilityPluginVersion=0.0.14
2323
snakeYamlVersion=2.5
2424
springFrameworkVersion=7.0.8
2525
springFramework60xVersion=6.0.23

0 commit comments

Comments
 (0)