From 0e74fe51b55080929650f0ff6adbfc4539ac10b4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 29 Mar 2017 00:51:53 +0300 Subject: fix string quoting in Spring Value annotation --- juick-api/src/main/java/com/juick/api/ApiServer.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'juick-api/src/main/java/com/juick/api') diff --git a/juick-api/src/main/java/com/juick/api/ApiServer.java b/juick-api/src/main/java/com/juick/api/ApiServer.java index 7f4042af..b59010b3 100644 --- a/juick-api/src/main/java/com/juick/api/ApiServer.java +++ b/juick-api/src/main/java/com/juick/api/ApiServer.java @@ -38,15 +38,15 @@ public class ApiServer implements AutoCloseable { private ExternalComponent xmpp; - @Value("${upload_tmp_dir:'/var/www/juick.com/i/tmp/'}") + @Value("${upload_tmp_dir:/var/www/juick.com/i/tmp/}") public String tmpDir; - @Value("${img_path:'/var/www/juick.com/i/'}") + @Value("${img_path:/var/www/juick.com/i/}") public String imgDir; - @Value("${xmpp_host:'localhost'}") + @Value("${xmpp_host:localhost}") private String xmppHost; - @Value("${xmpp_password:'secret'}") + @Value("${xmpp_password:secret}") private String xmppPassword; - @Value("${xmpp_jid:'api.localhost'}") + @Value("${xmpp_jid:api.localhost}") private String xmppJid; @Value("${xmpp_port:5347}") private int xmppPort; -- cgit v1.2.3