aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-29 00:51:53 +0300
committerGravatar Vitaly Takmazov2017-03-29 00:51:53 +0300
commit0e74fe51b55080929650f0ff6adbfc4539ac10b4 (patch)
tree59b66290d230328d2146175838ae9ed15f9873e9 /juick-api/src/main/java/com/juick/api
parente561d0c4faefce7f0e32e15a5667b6512c6341d7 (diff)
fix string quoting in Spring Value annotation
Diffstat (limited to 'juick-api/src/main/java/com/juick/api')
-rw-r--r--juick-api/src/main/java/com/juick/api/ApiServer.java10
1 files changed, 5 insertions, 5 deletions
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;