mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 02:09:05 +00:00
Upgrade to nullability plugin 0.0.7
Closes gh-47941
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
+3
-1
@@ -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) {
|
||||
|
||||
+1
@@ -254,6 +254,7 @@ class WebSocketMessagingAutoConfigurationTests {
|
||||
|
||||
@Override
|
||||
public void handleFrame(StompHeaders headers, @Nullable Object payload) {
|
||||
assertThat(payload).isNotNull();
|
||||
result.set(payload);
|
||||
latch.countDown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user