Avoid private bean classes in integration tests (for CGLIB on JDK 11)

Issue: SPR-16391
This commit is contained in:
Juergen Hoeller
2018-10-15 12:26:38 +02:00
parent b2bf5fe0f3
commit 93bb78ec23
6 changed files with 54 additions and 63 deletions

View File

@@ -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();