Upgrade to nullability plugin 0.0.7

Closes gh-47941
This commit is contained in:
Stéphane Nicoll
2025-11-04 14:31:53 +01:00
parent 9ef7307d53
commit fa2cd401c2
3 changed files with 5 additions and 4 deletions
+1 -3
View File
@@ -23,8 +23,6 @@ snakeYamlVersion=2.5
springFrameworkVersion=7.0.0-RC3
springFramework60xVersion=6.0.23
tomcatVersion=11.0.13
nullabilityPluginVersion=0.0.5
nullabilityPluginVersion=0.0.7
kotlin.stdlib.default.dependency=false
nullAwayVersion=0.12.10
errorProneVersion=2.42.0
@@ -52,7 +52,9 @@ class NoSuchHealthContributorFailureAnalyzerTests {
AtomicReference<Throwable> failure = new AtomicReference<>();
this.runner.withPropertyValues("management.endpoint.health.group.readiness.include=dummy").run((context) -> {
assertThat(context).hasFailed();
failure.set(context.getStartupFailure());
Throwable startupFailure = context.getStartupFailure();
assertThat(startupFailure).isNotNull();
failure.set(startupFailure);
});
Throwable throwable = failure.get();
if (throwable instanceof NoSuchHealthContributorException) {
@@ -254,6 +254,7 @@ class WebSocketMessagingAutoConfigurationTests {
@Override
public void handleFrame(StompHeaders headers, @Nullable Object payload) {
assertThat(payload).isNotNull();
result.set(payload);
latch.countDown();
}