aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com/juick/www')
-rw-r--r--juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java b/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java
index beb3f95f..2cf1faed 100644
--- a/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java
+++ b/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java
@@ -9,7 +9,7 @@ import com.juick.www.HelpService;
import com.juick.www.controllers.PageTemplates;
import com.juick.www.WebApp;
import org.springframework.cache.annotation.EnableCaching;
-import org.springframework.cache.guava.GuavaCacheManager;
+import org.springframework.cache.caffeine.CaffeineCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@@ -41,8 +41,8 @@ public class WwwAppConfiguration {
return new PageTemplates();
}
@Bean
- public GuavaCacheManager cacheManager() {
- return new GuavaCacheManager("help");
+ public CaffeineCacheManager cacheManager() {
+ return new CaffeineCacheManager("help");
}
@Bean