| 1 | package org.sanmibuh.framework.notifier.telegram; | |
| 2 | ||
| 3 | import org.springframework.boot.autoconfigure.AutoConfiguration; | |
| 4 | import org.springframework.boot.context.properties.EnableConfigurationProperties; | |
| 5 | import org.springframework.context.annotation.Bean; | |
| 6 | import org.springframework.context.annotation.ImportRuntimeHints; | |
| 7 | import org.springframework.resilience.annotation.EnableResilientMethods; | |
| 8 | import org.springframework.web.client.RestClient; | |
| 9 | ||
| 10 | @AutoConfiguration | |
| 11 | @EnableResilientMethods | |
| 12 | @EnableConfigurationProperties(TelegramProperties.class) | |
| 13 | @ImportRuntimeHints(TelegramRuntimeHints.class) | |
| 14 | public class TelegramNotificationConfiguration { | |
| 15 | ||
| 16 | @Bean | |
| 17 | TelegramGateway telegramNotifier( | |
| 18 | final RestClient.Builder builder, final TelegramProperties properties) { | |
| 19 |
1
1. telegramNotifier : replaced return value with null for org/sanmibuh/framework/notifier/telegram/TelegramNotificationConfiguration::telegramNotifier → KILLED |
return new TelegramNotifier(builder, properties); |
| 20 | } | |
| 21 | } | |
Mutations | ||
| 19 |
1.1 |