From 8c7a78b4cd5d71661362ebd3209bc53e715bff53 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 10 Jan 2023 09:26:45 +0300 Subject: Code cleanup and copyright year update --- src/main/java/com/juick/config/XMPPConfig.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/main/java/com/juick/config') 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); } } -- cgit v1.2.3