aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/configuration')
-rw-r--r--juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java8
1 files changed, 0 insertions, 8 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 5802a5c1..3198df2d 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
@@ -17,15 +17,12 @@
package com.juick.www.configuration;
-import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.juick.service.TagService;
import com.juick.service.UserService;
import com.juick.www.HelpService;
import com.juick.www.WebApp;
-import com.juick.www.controllers.PageTemplates;
import org.apache.commons.io.IOUtils;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.caffeine.CaffeineCacheManager;
@@ -33,7 +30,6 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
-import javax.annotation.Resource;
import javax.inject.Inject;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
@@ -64,10 +60,6 @@ public class WwwAppConfiguration {
return app;
}
@Bean
- public PageTemplates templates() {
- return new PageTemplates();
- }
- @Bean
public CaffeineCacheManager cacheManager() {
return new CaffeineCacheManager("help");
}