aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config/TelegramConfig.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-08 10:37:23 +0300
committerGravatar Vitaly Takmazov2022-12-08 10:37:23 +0300
commitccdb57fa3932785811faf9dd42d5998e4f1ea14b (patch)
treeceb012324e7374e758e9fbfab8836ba3ae1164b9 /src/main/java/com/juick/config/TelegramConfig.java
parentcfc787394a506459c71b4a124149e5d6de7690a8 (diff)
Spring beans should not be public
Diffstat (limited to 'src/main/java/com/juick/config/TelegramConfig.java')
-rw-r--r--src/main/java/com/juick/config/TelegramConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/config/TelegramConfig.java b/src/main/java/com/juick/config/TelegramConfig.java
index 85e00930..3d7fe621 100644
--- a/src/main/java/com/juick/config/TelegramConfig.java
+++ b/src/main/java/com/juick/config/TelegramConfig.java
@@ -26,7 +26,7 @@ import org.springframework.context.annotation.Configuration;
@ConditionalOnProperty(name = "telegram_token")
public class TelegramConfig {
@Bean
- public TelegramBotManager telegramBotManager() {
+ TelegramBotManager telegramBotManager() {
return new TelegramBotManager();
}
}