mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 08:19:01 +00:00
Merge branch '6.1.x'
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
// tag::snippet[]
|
||||
@Configuration
|
||||
@EnableCaching
|
||||
public class CacheConfiguration {
|
||||
class CacheConfiguration {
|
||||
|
||||
@Bean
|
||||
CacheManager cacheManager() {
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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