@@ -66,9 +66,9 @@ public void spr11249() throws Exception {
66
66
}
67
67
68
68
@ Test
69
- public void spr11595GetSimple () {
70
- AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext (Spr11595Config .class );
71
- Spr11595Service bean = context .getBean (Spr11595Service .class );
69
+ public void spr11592GetSimple () {
70
+ AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext (Spr11592Config .class );
71
+ Spr11592Service bean = context .getBean (Spr11592Service .class );
72
72
Cache cache = context .getBean ("cache" , Cache .class );
73
73
74
74
String key = "1" ;
@@ -83,9 +83,9 @@ public void spr11595GetSimple() {
83
83
}
84
84
85
85
@ Test
86
- public void spr11595GetNeverCache (){
87
- AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext (Spr11595Config .class );
88
- Spr11595Service bean = context .getBean (Spr11595Service .class );
86
+ public void spr11592GetNeverCache (){
87
+ AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext (Spr11592Config .class );
88
+ Spr11592Service bean = context .getBean (Spr11592Service .class );
89
89
Cache cache = context .getBean ("cache" , Cache .class );
90
90
91
91
String key = "1" ;
@@ -179,7 +179,7 @@ public Object doSomething(String name, int... values) {
179
179
180
180
@ Configuration
181
181
@ EnableCaching
182
- public static class Spr11595Config {
182
+ public static class Spr11592Config {
183
183
184
184
@ Bean
185
185
public CacheManager cacheManager () {
@@ -195,14 +195,13 @@ public Cache cache() {
195
195
}
196
196
197
197
@ Bean
198
- public Spr11595Service service () {
199
- return new Spr11595Service ();
198
+ public Spr11592Service service () {
199
+ return new Spr11592Service ();
200
200
}
201
-
202
201
}
203
202
204
203
205
- public static class Spr11595Service {
204
+ public static class Spr11592Service {
206
205
207
206
@ Cacheable ("cache" )
208
207
public Object getSimple (String key ) {
0 commit comments