1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -51,7 +51,9 @@ class ReactiveCachingTests {
51
51
LateCacheHitDeterminationConfig .class ,
52
52
LateCacheHitDeterminationWithValueWrapperConfig .class })
53
53
void cacheHitDetermination (Class <?> configClass ) {
54
- AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext (configClass , ReactiveCacheableService .class );
54
+
55
+ AnnotationConfigApplicationContext ctx =
56
+ new AnnotationConfigApplicationContext (configClass , ReactiveCacheableService .class );
55
57
ReactiveCacheableService service = ctx .getBean (ReactiveCacheableService .class );
56
58
57
59
Object key = new Object ();
@@ -117,7 +119,9 @@ void cacheHitDetermination(Class<?> configClass) {
117
119
LateCacheHitDeterminationConfig .class ,
118
120
LateCacheHitDeterminationWithValueWrapperConfig .class })
119
121
void fluxCacheDoesntDependOnFirstRequest (Class <?> configClass ) {
120
- AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext (configClass , ReactiveCacheableService .class );
122
+
123
+ AnnotationConfigApplicationContext ctx =
124
+ new AnnotationConfigApplicationContext (configClass , ReactiveCacheableService .class );
121
125
ReactiveCacheableService service = ctx .getBean (ReactiveCacheableService .class );
122
126
123
127
Object key = new Object ();
@@ -135,6 +139,7 @@ void fluxCacheDoesntDependOnFirstRequest(Class<?> configClass) {
135
139
ctx .close ();
136
140
}
137
141
142
+
138
143
@ CacheConfig (cacheNames = "first" )
139
144
static class ReactiveCacheableService {
140
145
0 commit comments