diff options
author | Vitaly Takmazov | 2023-01-10 09:26:45 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-10 10:30:52 +0300 |
commit | 8c7a78b4cd5d71661362ebd3209bc53e715bff53 (patch) | |
tree | 555b49a4d60c568c10eebbece2c0993ddc00303f /src/main/java/com/juick/config | |
parent | 85e9288348e93bf033ad8b7a648fcc94189b9a96 (diff) |
Code cleanup and copyright year update
Diffstat (limited to 'src/main/java/com/juick/config')
-rw-r--r-- | src/main/java/com/juick/config/XMPPConfig.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/com/juick/config/XMPPConfig.java b/src/main/java/com/juick/config/XMPPConfig.java index acf15bfe..2086f237 100644 --- a/src/main/java/com/juick/config/XMPPConfig.java +++ b/src/main/java/com/juick/config/XMPPConfig.java @@ -20,10 +20,8 @@ package com.juick.config; import com.juick.CommandsManager; import com.juick.XMPPManager; import com.juick.service.MessagesService; -import com.juick.service.ChatService; import com.juick.service.StorageService; import com.juick.service.UserService; -import com.juick.www.WebApp; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Bean; @@ -57,14 +55,11 @@ public class XMPPConfig { @Inject private UserService userService; @Inject - private ChatService chatService; - @Inject private Executor applicationTaskExecutor; @Bean(destroyMethod = "close") XMPPManager xmppConnection() { return new XMPPManager(botJid, componentName, componentPort, componentHost, password, vCardImage, - commandsManager, storageService, messagesService, userService, chatService, - applicationTaskExecutor); + commandsManager, storageService, messagesService, userService, applicationTaskExecutor); } } |