Skip to content

Commit ffdbc27

Browse files
committed
polish indentation
1 parent 37c1cfa commit ffdbc27

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

spring-context/src/test/java/org/springframework/scheduling/annotation/ScheduledAnnotationReactiveSupportTests.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,8 @@ void checkNotReactive() {
6666
void rejectReactiveAdaptableButNotDeferred() {
6767
Method future = ReflectionUtils.findMethod(ReactiveMethods.class, "future");
6868

69-
assertThatIllegalArgumentException().isThrownBy(
70-
() -> isReactive(future)
71-
)
72-
.withMessage("Reactive methods may only be annotated with @Scheduled if the return type supports deferred execution");
69+
assertThatIllegalArgumentException().isThrownBy(() -> isReactive(future))
70+
.withMessage("Reactive methods may only be annotated with @Scheduled if the return type supports deferred execution");
7371
}
7472

7573
static class ReactiveMethods {
@@ -204,7 +202,7 @@ void hasCheckpointToString() {
204202
final ScheduledAnnotationReactiveSupport.ReactiveTask reactiveTask = new ScheduledAnnotationReactiveSupport.ReactiveTask(
205203
m, target, Duration.ZERO, Duration.ZERO, false);
206204

207-
assertThat(reactiveTask).hasToString("@Scheduled 'mono()' in bean 'org.springframework.scheduling.annotation.ScheduledAnnotationReactiveSupportTests$ReactiveMethods'");
205+
assertThat(reactiveTask).hasToString("@Scheduled 'mono()' in bean 'org.springframework.scheduling.annotation.ScheduledAnnotationReactiveSupportTests$ReactiveMethods'");
208206
}
209207

210208
@Test

0 commit comments

Comments
 (0)