Merge branch '6.1.x'
This commit is contained in:
@@ -25,7 +25,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
// tag::snippet[]
|
||||
@Configuration
|
||||
@EnableCaching
|
||||
public class CacheConfiguration {
|
||||
class CacheConfiguration {
|
||||
|
||||
@Bean
|
||||
CacheManager cacheManager() {
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class CacheConfiguration {
|
||||
class CacheConfiguration {
|
||||
|
||||
// tag::snippet[]
|
||||
@Bean
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class CustomCacheConfiguration {
|
||||
class CustomCacheConfiguration {
|
||||
|
||||
// tag::snippet[]
|
||||
@Bean
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class CacheConfiguration {
|
||||
class CacheConfiguration {
|
||||
|
||||
// tag::snippet[]
|
||||
@Bean
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class CacheConfiguration {
|
||||
class CacheConfiguration {
|
||||
|
||||
// tag::snippet[]
|
||||
@Bean
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class CacheConfiguration {
|
||||
class CacheConfiguration {
|
||||
|
||||
private CacheManager jdkCache() {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user