diff options
Diffstat (limited to 'juick-notifications/src/main/java/com/juick/components')
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 d6b4fa1ef..b8730bfbb 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 22b3d5615..4cba533d3 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 |