Polishing

This commit is contained in:
Sam Brannen 2025-07-02 11:26:34 +02:00
parent 196b7ec275
commit 191d092952
3 changed files with 21 additions and 21 deletions

View File

@ -37,7 +37,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Juergen Hoeller
* @since 7.0
*/
public class ConcurrencyLimitTests {
class ConcurrencyLimitTests {
@Test
void withSimpleInterceptor() {
@ -98,7 +98,7 @@ public class ConcurrencyLimitTests {
}
public static class NonAnnotatedBean {
static class NonAnnotatedBean {
AtomicInteger counter = new AtomicInteger();
@ -117,7 +117,7 @@ public class ConcurrencyLimitTests {
}
public static class AnnotatedMethodBean {
static class AnnotatedMethodBean {
AtomicInteger current = new AtomicInteger();
@ -138,7 +138,7 @@ public class ConcurrencyLimitTests {
@ConcurrencyLimit(2)
public static class AnnotatedClassBean {
static class AnnotatedClassBean {
AtomicInteger current = new AtomicInteger();

View File

@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThatRuntimeException;
* @author Juergen Hoeller
* @since 7.0
*/
public class ReactiveRetryInterceptorTests {
class ReactiveRetryInterceptorTests {
@Test
void withSimpleInterceptor() {
@ -189,7 +189,7 @@ public class ReactiveRetryInterceptorTests {
}
public static class NonAnnotatedBean {
static class NonAnnotatedBean {
AtomicInteger counter = new AtomicInteger();
@ -202,7 +202,7 @@ public class ReactiveRetryInterceptorTests {
}
public static class AnnotatedMethodBean {
static class AnnotatedMethodBean {
AtomicInteger counter = new AtomicInteger();
@ -219,7 +219,7 @@ public class ReactiveRetryInterceptorTests {
@Retryable(delay = 10, jitter = 5, multiplier = 2.0, maxDelay = 40,
includes = IOException.class, excludes = AccessDeniedException.class,
predicate = CustomPredicate.class)
public static class AnnotatedClassBean {
static class AnnotatedClassBean {
AtomicInteger counter = new AtomicInteger();
@ -258,7 +258,7 @@ public class ReactiveRetryInterceptorTests {
// Bean classes for boundary testing
public static class MinimalRetryBean {
static class MinimalRetryBean {
AtomicInteger counter = new AtomicInteger();
@ -271,7 +271,7 @@ public class ReactiveRetryInterceptorTests {
}
public static class ZeroDelayJitterBean {
static class ZeroDelayJitterBean {
AtomicInteger counter = new AtomicInteger();
@ -284,7 +284,7 @@ public class ReactiveRetryInterceptorTests {
}
public static class JitterGreaterThanDelayBean {
static class JitterGreaterThanDelayBean {
AtomicInteger counter = new AtomicInteger();
@ -297,7 +297,7 @@ public class ReactiveRetryInterceptorTests {
}
public static class FluxMultiValueBean {
static class FluxMultiValueBean {
AtomicInteger counter = new AtomicInteger();
@ -310,7 +310,7 @@ public class ReactiveRetryInterceptorTests {
}
public static class SuccessfulOperationBean {
static class SuccessfulOperationBean {
AtomicInteger counter = new AtomicInteger();
@ -323,7 +323,7 @@ public class ReactiveRetryInterceptorTests {
}
public static class ImmediateFailureBean {
static class ImmediateFailureBean {
AtomicInteger counter = new AtomicInteger();

View File

@ -47,7 +47,7 @@ import static org.assertj.core.api.Assertions.assertThatIOException;
* @author Juergen Hoeller
* @since 7.0
*/
public class RetryInterceptorTests {
class RetryInterceptorTests {
@Test
void withSimpleInterceptor() {
@ -137,7 +137,7 @@ public class RetryInterceptorTests {
}
public static class NonAnnotatedBean {
static class NonAnnotatedBean {
int counter = 0;
@ -148,7 +148,7 @@ public class RetryInterceptorTests {
}
public static class AnnotatedMethodBean {
static class AnnotatedMethodBean {
int counter = 0;
@ -163,7 +163,7 @@ public class RetryInterceptorTests {
@Retryable(delay = 10, jitter = 5, multiplier = 2.0, maxDelay = 40,
includes = IOException.class, excludes = AccessDeniedException.class,
predicate = CustomPredicate.class)
public static class AnnotatedClassBean {
static class AnnotatedClassBean {
int counter = 0;
@ -189,7 +189,7 @@ public class RetryInterceptorTests {
multiplierString = "${multiplier}", maxDelayString = "${maxDelay}",
includes = IOException.class, excludes = AccessDeniedException.class,
predicate = CustomPredicate.class)
public static class AnnotatedClassBeanWithStrings {
static class AnnotatedClassBeanWithStrings {
int counter = 0;
@ -220,7 +220,7 @@ public class RetryInterceptorTests {
}
public static class DoubleAnnotatedBean {
static class DoubleAnnotatedBean {
AtomicInteger current = new AtomicInteger();
@ -248,7 +248,7 @@ public class RetryInterceptorTests {
@EnableResilientMethods
public static class EnablingConfig {
static class EnablingConfig {
}
}