mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Avoid private bean classes in integration tests (for CGLIB on JDK 11)
Issue: SPR-16391
This commit is contained in:
Vendored
+2
-2
@@ -157,7 +157,7 @@ public class EnableCachingIntegrationTests {
|
||||
}
|
||||
|
||||
|
||||
private interface FooService {
|
||||
interface FooService {
|
||||
|
||||
Object getSimple(Object key);
|
||||
|
||||
@@ -166,7 +166,7 @@ public class EnableCachingIntegrationTests {
|
||||
|
||||
|
||||
@CacheConfig(cacheNames = "testCache")
|
||||
private static class FooServiceImpl implements FooService {
|
||||
static class FooServiceImpl implements FooService {
|
||||
|
||||
private final AtomicLong counter = new AtomicLong();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user