From 2efaf52caa8c42ec30ba9967c5f5841e874e22f4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 20 Nov 2017 15:04:38 +0300 Subject: fix api and www tests --- juick-www/src/main/java/com/juick/www/WebApp.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'juick-www/src/main/java/com/juick/www/WebApp.java') diff --git a/juick-www/src/main/java/com/juick/www/WebApp.java b/juick-www/src/main/java/com/juick/www/WebApp.java index 4c706426..c3437c0b 100644 --- a/juick-www/src/main/java/com/juick/www/WebApp.java +++ b/juick-www/src/main/java/com/juick/www/WebApp.java @@ -49,10 +49,6 @@ public class WebApp implements DisposableBean { @Inject private TagService tagService; - @Value("${img_path:/var/www/juick.com/i/}") - private String imgDir; - @Value("${upload_tmp_dir:/var/www/juick.com/i/tmp/}") - private String tmpDir; @Value("${xmpp_host:localhost}") private String xmppHost; @Value("${xmpp_password:secret}") @@ -104,14 +100,6 @@ public class WebApp implements DisposableBean { return xmpp; } - public String getImgDir() { - return imgDir; - } - - public String getTmpDir() { - return tmpDir; - } - public List parseTags(String tagsStr) { List tags = new ArrayList<>(); if (tagsStr != null && !tagsStr.isEmpty()) { -- cgit v1.2.3