aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-05-02 21:41:07 +0300
committerGravatar Vitaly Takmazov2017-05-02 21:42:08 +0300
commit9345af5e39695d191b221473ce3a51b03dc09db3 (patch)
treed86af72a9c740096c45723d9674d20aae274280e /juick-www/src/main/java/com/juick/www
parent6ff7ecd1f1f17321d843846767556dd53cc9b022 (diff)
juick-www: drop Google's shit
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