aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com/juick
diff options
context:
space:
mode:
Diffstat (limited to 'juick-notifications/src/main/java/com/juick')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java4
-rw-r--r--juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java
index d6b4fa1e..b8730bfb 100644
--- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java
+++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java
@@ -27,9 +27,9 @@ import java.util.List;
@PropertySource("classpath:juick.conf")
@ComponentScan(basePackages = {"com.juick.components.service"})
public class NotificationsAppConfiguration {
- @Value("${api_user:'juick'}")
+ @Value("${api_user:juick}")
private String apiUser;
- @Value("${api_password:'secret'}")
+ @Value("${api_password:secret}")
private String apiSecret;
@Bean
diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java
index 22b3d561..4cba533d 100644
--- a/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java
+++ b/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java
@@ -14,11 +14,11 @@ import rocks.xmpp.extensions.component.accept.ExternalComponent;
public class XMPPConfiguration {
@Value("${push_jid}")
private String pushJid;
- @Value("${xmpp_host:'localhost'}")
+ @Value("${xmpp_host:localhost}")
private String xmppHost;
@Value("${xmpp_port:5347}")
private int xmppPort;
- @Value("${push_xmpp_password:'secret'}")
+ @Value("${push_xmpp_password:secret}")
private String xmppPushPassword;
@Bean