Skip to content

Commit ca7e844

Browse files
authored
Bump junitJupiterVersion
- Update JUnit Jupiter from `5.13.4` to `6.0.0-RC2` in build.gradle - Add `@SuppressWarnings("NullAway")` annotations to `LogLevelsCondition` `beforeEach()` and `afterEach()` methods due to dataflow analysis limitations - Verified that JUnit version did not require an update
1 parent 802bba0 commit ca7e844

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ext {
7878
jrubyVersion = '10.0.2.0'
7979
jsonpathVersion = '2.9.0'
8080
junit4Version = '4.13.2'
81-
junitJupiterVersion = '5.13.4'
81+
junitJupiterVersion = '6.0.0-RC2'
8282
kotlinCoroutinesVersion = '1.10.2'
8383
kryoVersion = '5.6.2'
8484
lettuceVersion = '6.8.1.RELEASE'

spring-integration-test-support/src/main/java/org/springframework/integration/test/condition/LogLevelsCondition.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext con
6767
}
6868

6969
@Override
70+
@SuppressWarnings("NullAway") // Dataflow analysis limitation
7071
public void beforeEach(ExtensionContext context) {
7172
Store store = context.getStore(Namespace.create(getClass(), context));
7273
LogLevels logLevels = store.get(STORE_ANNOTATION_KEY, LogLevels.class);
@@ -82,6 +83,7 @@ public void beforeEach(ExtensionContext context) {
8283
}
8384

8485
@Override
86+
@SuppressWarnings("NullAway") // Dataflow analysis limitation
8587
public void afterEach(ExtensionContext context) {
8688
Store store = context.getStore(Namespace.create(getClass(), context));
8789
LevelsContainer container = store.get(STORE_CONTAINER_KEY, LevelsContainer.class);

0 commit comments

Comments
 (0)