From 9345af5e39695d191b221473ce3a51b03dc09db3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 2 May 2017 21:41:07 +0300 Subject: juick-www: drop Google's shit --- .../main/java/com/juick/www/configuration/WwwAppConfiguration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-www/src/main/java/com/juick/www') 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 -- cgit v1.2.3